POST api/store/{storeID}/supplier/{id}/department/orderCycles?indicator={indicator}
Save list of order cycles for supplier/host and other details, against multiple departments
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
storeID |
Store ID, to match order cycles for |
integer |
Required |
id |
Supplier Identifier or host identifier to match order cycles for |
globally unique identifier |
Required |
indicator |
Warehouse Direct Indicator (item source), optional, only for host suppliers |
string |
None. |
Body Parameters
Department and Order cycle saving information
DepartmentOrderCycleName | Description | Type | Additional information |
---|---|---|---|
DepartmentCodes |
List of department codes to apply to the specified order cycles |
Collection of string |
None. |
Cycles |
Order Cycle data to save |
Collection of OrderCycle |
None. |
Request Formats
application/json, text/json
Sample:
{ "departmentCodes": [ "sample string 1", "sample string 2" ], "cycles": [ { "$id": "2", "storeID": 1, "supplierIdentifier": "D1YpV0bJSE6m8GCh018EYQ==", "supplierGuid": "5729560f-c946-4e48-a6f0-60a1d35f0461", "departmentCode": "sample string 2", "warehouseDirectIndicator": "sample string 3", "type": 4, "cutOffWeek": 5, "cutOffDay": 6, "cutOffTime": "00:00:00.1234567", "leadTime": 7, "daysBuffer": 8, "supplierName": "sample string 9", "cutOffDate": "2025-06-14T07:11:40.1362408", "deliveryDate": "2025-06-14T07:11:40.1362408", "nextCutOffDate": "2025-06-14T07:11:40.1362408", "nextDeliveryDate": "2025-06-14T07:11:40.1362408", "nextDaysBuffer": 10 }, { "$ref": "2" } ] }
application/xml, text/xml
Sample:
<DepartmentOrderCycle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <Cycles> <OrderCycle> <CutOffDate>2025-06-14T07:11:40.1362408+00:00</CutOffDate> <CutOffDay>6</CutOffDay> <CutOffTime>PT0.1234567S</CutOffTime> <CutOffWeek>5</CutOffWeek> <DaysBuffer>8</DaysBuffer> <DeliveryDate>2025-06-14T07:11:40.1362408+00:00</DeliveryDate> <DepartmentCode>sample string 2</DepartmentCode> <LeadTime>7</LeadTime> <NextCutOffDate>2025-06-14T07:11:40.1362408+00:00</NextCutOffDate> <NextDaysBuffer>10</NextDaysBuffer> <NextDeliveryDate>2025-06-14T07:11:40.1362408+00:00</NextDeliveryDate> <StoreID>1</StoreID> <SupplierGuid>5729560f-c946-4e48-a6f0-60a1d35f0461</SupplierGuid> <SupplierIdentifier>D1YpV0bJSE6m8GCh018EYQ==</SupplierIdentifier> <SupplierName>sample string 9</SupplierName> <Type>4</Type> <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator> </OrderCycle> <OrderCycle> <CutOffDate>2025-06-14T07:11:40.1362408+00:00</CutOffDate> <CutOffDay>6</CutOffDay> <CutOffTime>PT0.1234567S</CutOffTime> <CutOffWeek>5</CutOffWeek> <DaysBuffer>8</DaysBuffer> <DeliveryDate>2025-06-14T07:11:40.1362408+00:00</DeliveryDate> <DepartmentCode>sample string 2</DepartmentCode> <LeadTime>7</LeadTime> <NextCutOffDate>2025-06-14T07:11:40.1362408+00:00</NextCutOffDate> <NextDaysBuffer>10</NextDaysBuffer> <NextDeliveryDate>2025-06-14T07:11:40.1362408+00:00</NextDeliveryDate> <StoreID>1</StoreID> <SupplierGuid>5729560f-c946-4e48-a6f0-60a1d35f0461</SupplierGuid> <SupplierIdentifier>D1YpV0bJSE6m8GCh018EYQ==</SupplierIdentifier> <SupplierName>sample string 9</SupplierName> <Type>4</Type> <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator> </OrderCycle> </Cycles> <DepartmentCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DepartmentCodes> </DepartmentOrderCycle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.