POST api/FrontierWeb/PackagingSchedule/UpdatePackagingLineScheduleWithInstances
Update the packaging line schedule with instances of the shift details.
Request Information
URI Parameters
None.
Body Parameters
Collection of UpdatePackagingLineScheduleRequestName | Description | Type | Additional information |
---|---|---|---|
PackagingLineIdNo | integer |
None. |
|
Schedule | TransferAssetSchedule |
None. |
|
ScheduleInstances | Collection of TransferAssetScheduleInstance |
None. |
Request Formats
application/json, text/json
Sample:
[ { "PackagingLineIdNo": 1, "Schedule": { "IdNo": 1, "TransferAssetIdNo": 2, "ShiftType": 1, "ShiftTypeValue": 1, "ParentIdNo": 1, "RecurrenceException": "sample string 3", "RecurrenceRule": "sample string 4", "RecurrenceID": 1, "Notes": "sample string 5", "Title": "First", "StartDateTime": "2025-06-18T13:52:01.8668812Z", "EndDateTime": "2025-06-18T13:52:01.8668812Z", "ObjectKeyStringWithVersion": "sample string 7", "VersionNo": 8, "IsActive": true, "LastModifiedBy": "sample string 10", "ObjectKeyString": "sample string 11", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true }, "ScheduleInstances": [ { "IdNo": 1, "TransferAssetIdNo": 2, "TransferAssetScheduleIdNo": 3, "StartDateTime": "2025-06-18T08:52:01.8668812-05:00", "EndDateTime": "2025-06-18T08:52:01.8668812-05:00", "ObjectKeyString": "sample string 8", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true }, { "IdNo": 1, "TransferAssetIdNo": 2, "TransferAssetScheduleIdNo": 3, "StartDateTime": "2025-06-18T08:52:01.8668812-05:00", "EndDateTime": "2025-06-18T08:52:01.8668812-05:00", "ObjectKeyString": "sample string 8", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true } ] }, { "PackagingLineIdNo": 1, "Schedule": { "IdNo": 1, "TransferAssetIdNo": 2, "ShiftType": 1, "ShiftTypeValue": 1, "ParentIdNo": 1, "RecurrenceException": "sample string 3", "RecurrenceRule": "sample string 4", "RecurrenceID": 1, "Notes": "sample string 5", "Title": "First", "StartDateTime": "2025-06-18T13:52:01.8668812Z", "EndDateTime": "2025-06-18T13:52:01.8668812Z", "ObjectKeyStringWithVersion": "sample string 7", "VersionNo": 8, "IsActive": true, "LastModifiedBy": "sample string 10", "ObjectKeyString": "sample string 11", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true }, "ScheduleInstances": [ { "IdNo": 1, "TransferAssetIdNo": 2, "TransferAssetScheduleIdNo": 3, "StartDateTime": "2025-06-18T08:52:01.8668812-05:00", "EndDateTime": "2025-06-18T08:52:01.8668812-05:00", "ObjectKeyString": "sample string 8", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true }, { "IdNo": 1, "TransferAssetIdNo": 2, "TransferAssetScheduleIdNo": 3, "StartDateTime": "2025-06-18T08:52:01.8668812-05:00", "EndDateTime": "2025-06-18T08:52:01.8668812-05:00", "ObjectKeyString": "sample string 8", "PrimaryKey": [ 1 ], "IsPrimaryKeyInitialized": true } ] } ]
text/html
Sample:
[{"PackagingLineIdNo":1,"Schedule":{"IdNo":1,"TransferAssetIdNo":2,"ShiftType":1,"ShiftTypeValue":1,"ParentIdNo":1,"RecurrenceException":"sample string 3","RecurrenceRule":"sample string 4","RecurrenceID":1,"Notes":"sample string 5","Title":"First","StartDateTime":"2025-06-18T13:52:01.8668812Z","EndDateTime":"2025-06-18T13:52:01.8668812Z","ObjectKeyStringWithVersion":"sample string 7","VersionNo":8,"IsActive":true,"LastModifiedBy":"sample string 10","ObjectKeyString":"sample string 11","PrimaryKey":[1],"IsPrimaryKeyInitialized":true},"ScheduleInstances":[{"IdNo":1,"TransferAssetIdNo":2,"TransferAssetScheduleIdNo":3,"StartDateTime":"2025-06-18T08:52:01.8668812-05:00","EndDateTime":"2025-06-18T08:52:01.8668812-05:00","ObjectKeyString":"sample string 8","PrimaryKey":[1],"IsPrimaryKeyInitialized":true},{"IdNo":1,"TransferAssetIdNo":2,"TransferAssetScheduleIdNo":3,"StartDateTime":"2025-06-18T08:52:01.8668812-05:00","EndDateTime":"2025-06-18T08:52:01.8668812-05:00","ObjectKeyString":"sample string 8","PrimaryKey":[1],"IsPrimaryKeyInitialized":true}]},{"PackagingLineIdNo":1,"Schedule":{"IdNo":1,"TransferAssetIdNo":2,"ShiftType":1,"ShiftTypeValue":1,"ParentIdNo":1,"RecurrenceException":"sample string 3","RecurrenceRule":"sample string 4","RecurrenceID":1,"Notes":"sample string 5","Title":"First","StartDateTime":"2025-06-18T13:52:01.8668812Z","EndDateTime":"2025-06-18T13:52:01.8668812Z","ObjectKeyStringWithVersion":"sample string 7","VersionNo":8,"IsActive":true,"LastModifiedBy":"sample string 10","ObjectKeyString":"sample string 11","PrimaryKey":[1],"IsPrimaryKeyInitialized":true},"ScheduleInstances":[{"IdNo":1,"TransferAssetIdNo":2,"TransferAssetScheduleIdNo":3,"StartDateTime":"2025-06-18T08:52:01.8668812-05:00","EndDateTime":"2025-06-18T08:52:01.8668812-05:00","ObjectKeyString":"sample string 8","PrimaryKey":[1],"IsPrimaryKeyInitialized":true},{"IdNo":1,"TransferAssetIdNo":2,"TransferAssetScheduleIdNo":3,"StartDateTime":"2025-06-18T08:52:01.8668812-05:00","EndDateTime":"2025-06-18T08:52:01.8668812-05:00","ObjectKeyString":"sample string 8","PrimaryKey":[1],"IsPrimaryKeyInitialized":true}]}]
Response Information
Resource Description
GenericTransactionResponseName | Description | Type | Additional information |
---|---|---|---|
ReturnedObject | Object |
None. |
|
IsSuccessful |
Indicates if the transaction was successful or not. |
boolean |
None. |
ReturnedMessages |
Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction. |
Collection of ReturnedMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReturnedObject": {}, "IsSuccessful": true, "ReturnedMessages": null }
text/html
Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}