POST api/suppliers/ordercycles/import
Import a list of order cycles
Request Information
URI Parameters
None.
Body Parameters
list of order cycles to save
Collection of OrderCycleName | Description | Type | Additional information |
---|---|---|---|
StoreID | integer |
None. |
|
SupplierIdentifier | Collection of byte |
None. |
|
SupplierGuid |
Supplier Guid, may also relate to host |
globally unique identifier |
None. |
DepartmentCode |
DepartmentCode for host order cycles |
string |
None. |
WarehouseDirectIndicator |
Warehouse direct indicator for host order cycles |
string |
None. |
Type |
Order Cycle Frequency type |
OrderCycleType |
None. |
CutOffWeek |
Week of month order is expected |
integer |
None. |
CutOffDay |
Day of week order is expected |
integer |
None. |
CutOffTime |
Time of day to send order by |
time interval |
None. |
LeadTime |
Days until delivery for order |
integer |
None. |
DaysBuffer |
Number of buffer days for order |
integer |
None. |
SupplierName |
Name of the supplier for the order cycle |
string |
Relation. This field may not always be loaded or used for updates. |
CutOffDate |
Calculated cut off date for ordering based on order cycle settings |
date |
Relation. This field may not always be loaded or used for updates. |
DeliveryDate |
Calculated delivery date for order cycle of the cut off date |
date |
Relation. This field may not always be loaded or used for updates. |
NextCutOffDate |
Calculated next cut off date for ordering based on order cycle settings |
date |
Relation. This field may not always be loaded or used for updates. |
NextDeliveryDate |
Calculated delivery date for the next order after this one |
date |
Relation. This field may not always be loaded or used for updates. |
NextDaysBuffer |
Calculated delivery date for the next order after this one |
integer |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
[ { "$id": "1", "storeID": 1, "supplierIdentifier": "GoCH0jnAKkudYcsT2q1AAA==", "supplierGuid": "d287801a-c039-4b2a-9d61-cb13daad4000", "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-14T06:52:36.2381069", "deliveryDate": "2025-06-14T06:52:36.2381069", "nextCutOffDate": "2025-06-14T06:52:36.2381069", "nextDeliveryDate": "2025-06-14T06:52:36.2381069", "nextDaysBuffer": 10 }, { "$ref": "1" } ]
application/xml, text/xml
<ArrayOfOrderCycle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <OrderCycle> <CutOffDate>2025-06-14T06:52:36.2381069+00:00</CutOffDate> <CutOffDay>6</CutOffDay> <CutOffTime>PT0.1234567S</CutOffTime> <CutOffWeek>5</CutOffWeek> <DaysBuffer>8</DaysBuffer> <DeliveryDate>2025-06-14T06:52:36.2381069+00:00</DeliveryDate> <DepartmentCode>sample string 2</DepartmentCode> <LeadTime>7</LeadTime> <NextCutOffDate>2025-06-14T06:52:36.2381069+00:00</NextCutOffDate> <NextDaysBuffer>10</NextDaysBuffer> <NextDeliveryDate>2025-06-14T06:52:36.2381069+00:00</NextDeliveryDate> <StoreID>1</StoreID> <SupplierGuid>d287801a-c039-4b2a-9d61-cb13daad4000</SupplierGuid> <SupplierIdentifier>GoCH0jnAKkudYcsT2q1AAA==</SupplierIdentifier> <SupplierName>sample string 9</SupplierName> <Type>4</Type> <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator> </OrderCycle> <OrderCycle> <CutOffDate>2025-06-14T06:52:36.2381069+00:00</CutOffDate> <CutOffDay>6</CutOffDay> <CutOffTime>PT0.1234567S</CutOffTime> <CutOffWeek>5</CutOffWeek> <DaysBuffer>8</DaysBuffer> <DeliveryDate>2025-06-14T06:52:36.2381069+00:00</DeliveryDate> <DepartmentCode>sample string 2</DepartmentCode> <LeadTime>7</LeadTime> <NextCutOffDate>2025-06-14T06:52:36.2381069+00:00</NextCutOffDate> <NextDaysBuffer>10</NextDaysBuffer> <NextDeliveryDate>2025-06-14T06:52:36.2381069+00:00</NextDeliveryDate> <StoreID>1</StoreID> <SupplierGuid>d287801a-c039-4b2a-9d61-cb13daad4000</SupplierGuid> <SupplierIdentifier>GoCH0jnAKkudYcsT2q1AAA==</SupplierIdentifier> <SupplierName>sample string 9</SupplierName> <Type>4</Type> <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator> </OrderCycle> </ArrayOfOrderCycle>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
None.