POST Api/purchaseorder/GetPurchaseOrders
Request Information
URI Parameters
None.
Body Parameters
GetPurchaseOrderRequestModelName | Description | Type | Additional information |
---|---|---|---|
RecordDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordDate": "2025-08-02T15:34:35.2005583+02:00" }
application/xml, text/xml
Sample:
<GetPurchaseOrderRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Service.Web.Models"> <RecordDate>2025-08-02T15:34:35.2005583+02:00</RecordDate> </GetPurchaseOrderRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PurchaseOrderName | Description | Type | Additional information |
---|---|---|---|
PurchaseOrderId | globally unique identifier |
None. |
|
Source | string |
None. |
|
SapOrderNumber | string |
None. |
|
SupplierId | string |
None. |
|
OrderTypeId | string |
None. |
|
ExpectedDeliveryDate | date |
None. |
|
SapDestination | string |
None. |
|
CreatedDateTime | date |
None. |
|
DownloadDateTime | date |
None. |
|
SentToSapDateTime | date |
None. |
|
SupplierCompany | string |
None. |
|
OrderCount | integer |
None. |
|
ProductCount | integer |
None. |
|
ProductQty | integer |
None. |
|
PurchaseOrderDetails | Collection of PurchaseOrderDetail |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PurchaseOrderId": "d796cd63-005f-43ac-8779-a8bd3ecb2cc7", "Source": "sample string 2", "SapOrderNumber": "sample string 3", "SupplierId": "sample string 4", "OrderTypeId": "sample string 5", "ExpectedDeliveryDate": "2025-08-02T15:34:35.2160898+02:00", "SapDestination": "sample string 7", "CreatedDateTime": "2025-08-02T15:34:35.2160898+02:00", "DownloadDateTime": "2025-08-02T15:34:35.2160898+02:00", "SentToSapDateTime": "2025-08-02T15:34:35.2160898+02:00", "SupplierCompany": "sample string 9", "OrderCount": 10, "ProductCount": 11, "ProductQty": 12, "PurchaseOrderDetails": [ { "PurchaseOrderId": "8a085f20-a4a5-490d-83b0-e800ff845852", "SalesOrderId": "7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81", "ShopId": "sample string 3", "Company": "sample string 4", "City": "sample string 5", "ProductId": "sample string 6", "Description": "sample string 7", "OrderUnitId": "sample string 8", "Qty": 9 }, { "PurchaseOrderId": "8a085f20-a4a5-490d-83b0-e800ff845852", "SalesOrderId": "7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81", "ShopId": "sample string 3", "Company": "sample string 4", "City": "sample string 5", "ProductId": "sample string 6", "Description": "sample string 7", "OrderUnitId": "sample string 8", "Qty": 9 } ] }, { "PurchaseOrderId": "d796cd63-005f-43ac-8779-a8bd3ecb2cc7", "Source": "sample string 2", "SapOrderNumber": "sample string 3", "SupplierId": "sample string 4", "OrderTypeId": "sample string 5", "ExpectedDeliveryDate": "2025-08-02T15:34:35.2160898+02:00", "SapDestination": "sample string 7", "CreatedDateTime": "2025-08-02T15:34:35.2160898+02:00", "DownloadDateTime": "2025-08-02T15:34:35.2160898+02:00", "SentToSapDateTime": "2025-08-02T15:34:35.2160898+02:00", "SupplierCompany": "sample string 9", "OrderCount": 10, "ProductCount": 11, "ProductQty": 12, "PurchaseOrderDetails": [ { "PurchaseOrderId": "8a085f20-a4a5-490d-83b0-e800ff845852", "SalesOrderId": "7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81", "ShopId": "sample string 3", "Company": "sample string 4", "City": "sample string 5", "ProductId": "sample string 6", "Description": "sample string 7", "OrderUnitId": "sample string 8", "Qty": 9 }, { "PurchaseOrderId": "8a085f20-a4a5-490d-83b0-e800ff845852", "SalesOrderId": "7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81", "ShopId": "sample string 3", "Company": "sample string 4", "City": "sample string 5", "ProductId": "sample string 6", "Description": "sample string 7", "OrderUnitId": "sample string 8", "Qty": 9 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfPurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Data.Models.Intranet"> <PurchaseOrder> <CreatedDateTime>2025-08-02T15:34:35.2160898+02:00</CreatedDateTime> <DownloadDateTime>2025-08-02T15:34:35.2160898+02:00</DownloadDateTime> <ExpectedDeliveryDate>2025-08-02T15:34:35.2160898+02:00</ExpectedDeliveryDate> <OrderCount>10</OrderCount> <OrderTypeId>sample string 5</OrderTypeId> <ProductCount>11</ProductCount> <ProductQty>12</ProductQty> <PurchaseOrderDetails> <PurchaseOrderDetail> <City>sample string 5</City> <Company>sample string 4</Company> <Description>sample string 7</Description> <OrderUnitId>sample string 8</OrderUnitId> <ProductId>sample string 6</ProductId> <PurchaseOrderId>8a085f20-a4a5-490d-83b0-e800ff845852</PurchaseOrderId> <Qty>9</Qty> <SalesOrderId>7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81</SalesOrderId> <ShopId>sample string 3</ShopId> </PurchaseOrderDetail> <PurchaseOrderDetail> <City>sample string 5</City> <Company>sample string 4</Company> <Description>sample string 7</Description> <OrderUnitId>sample string 8</OrderUnitId> <ProductId>sample string 6</ProductId> <PurchaseOrderId>8a085f20-a4a5-490d-83b0-e800ff845852</PurchaseOrderId> <Qty>9</Qty> <SalesOrderId>7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81</SalesOrderId> <ShopId>sample string 3</ShopId> </PurchaseOrderDetail> </PurchaseOrderDetails> <PurchaseOrderId>d796cd63-005f-43ac-8779-a8bd3ecb2cc7</PurchaseOrderId> <SapDestination>sample string 7</SapDestination> <SapOrderNumber>sample string 3</SapOrderNumber> <SentToSapDateTime>2025-08-02T15:34:35.2160898+02:00</SentToSapDateTime> <Source>sample string 2</Source> <SupplierCompany>sample string 9</SupplierCompany> <SupplierId>sample string 4</SupplierId> </PurchaseOrder> <PurchaseOrder> <CreatedDateTime>2025-08-02T15:34:35.2160898+02:00</CreatedDateTime> <DownloadDateTime>2025-08-02T15:34:35.2160898+02:00</DownloadDateTime> <ExpectedDeliveryDate>2025-08-02T15:34:35.2160898+02:00</ExpectedDeliveryDate> <OrderCount>10</OrderCount> <OrderTypeId>sample string 5</OrderTypeId> <ProductCount>11</ProductCount> <ProductQty>12</ProductQty> <PurchaseOrderDetails> <PurchaseOrderDetail> <City>sample string 5</City> <Company>sample string 4</Company> <Description>sample string 7</Description> <OrderUnitId>sample string 8</OrderUnitId> <ProductId>sample string 6</ProductId> <PurchaseOrderId>8a085f20-a4a5-490d-83b0-e800ff845852</PurchaseOrderId> <Qty>9</Qty> <SalesOrderId>7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81</SalesOrderId> <ShopId>sample string 3</ShopId> </PurchaseOrderDetail> <PurchaseOrderDetail> <City>sample string 5</City> <Company>sample string 4</Company> <Description>sample string 7</Description> <OrderUnitId>sample string 8</OrderUnitId> <ProductId>sample string 6</ProductId> <PurchaseOrderId>8a085f20-a4a5-490d-83b0-e800ff845852</PurchaseOrderId> <Qty>9</Qty> <SalesOrderId>7ed6abc0-b60d-4dc3-89c0-9e01ee80bc81</SalesOrderId> <ShopId>sample string 3</ShopId> </PurchaseOrderDetail> </PurchaseOrderDetails> <PurchaseOrderId>d796cd63-005f-43ac-8779-a8bd3ecb2cc7</PurchaseOrderId> <SapDestination>sample string 7</SapDestination> <SapOrderNumber>sample string 3</SapOrderNumber> <SentToSapDateTime>2025-08-02T15:34:35.2160898+02:00</SentToSapDateTime> <Source>sample string 2</Source> <SupplierCompany>sample string 9</SupplierCompany> <SupplierId>sample string 4</SupplierId> </PurchaseOrder> </ArrayOfPurchaseOrder>