POST api/ForwadingBilling/PostStorePurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
PurChaseOrderInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| STO_ID | integer |
None. |
|
| STO_PO_NUM | string |
None. |
|
| STO_CP_ID | integer |
None. |
|
| STO_REFERENCE | string |
None. |
|
| STO_DATE | date |
None. |
|
| STO_NOTES | string |
None. |
|
| STO_VEHICLE_NO | string |
None. |
|
| STO_PROGRAM_ID | string |
None. |
|
| STO_CREATED_BY | integer |
None. |
|
| STO_TRANSPORT_NAME | string |
None. |
|
| STO_INVOICE_QTY | decimal number |
None. |
|
| STO_QTY | integer |
None. |
|
| STO_REFID | string |
None. |
|
| STO_STATUS | string |
None. |
|
| STO_AP_ID | integer |
None. |
|
| STO_BILL_DATE | date |
None. |
|
| STO_DSO_PO_ID | integer |
None. |
|
| STO_PO_DETAILS | Collection of STO_PO_DETAILS |
None. |
Request Formats
application/json, text/json
Sample:
{
"STO_ID": 1,
"STO_PO_NUM": "sample string 1",
"STO_CP_ID": 1,
"STO_REFERENCE": "sample string 2",
"STO_DATE": "2025-12-17T13:12:05.7457245+00:00",
"STO_NOTES": "sample string 3",
"STO_VEHICLE_NO": "sample string 4",
"STO_PROGRAM_ID": "sample string 5",
"STO_CREATED_BY": 1,
"STO_TRANSPORT_NAME": "sample string 6",
"STO_INVOICE_QTY": 1.1,
"STO_QTY": 1,
"STO_REFID": "sample string 7",
"STO_STATUS": "sample string 8",
"STO_AP_ID": 1,
"STO_BILL_DATE": "2025-12-17T13:12:05.7457245+00:00",
"STO_DSO_PO_ID": 1,
"STO_PO_DETAILS": [
{
"SPD_ID": 1,
"SPD_PRC_ID": 1,
"SPD_PRC_CODE": "sample string 1",
"SPD_QUAN": 1.1,
"SPD_UOM_ID": 1,
"SPD_UOM_CODE": "sample string 2",
"SPD_RATE_QUAN": 1.1,
"SPD_RATE_CUR": 1,
"SPD_RATE_CUR_CODE": "sample string 3",
"SPD_TOT_COST": 1.1,
"SPD_TOT_CUR": 1,
"SPD_TOT_CUR_CODE": "sample string 4",
"SPD_BIN_NUM": "sample string 5",
"SPD_NOTES": "sample string 6",
"SPD_INV_ID": 1,
"SPD_INV_NUM": "sample string 7",
"SPD_QUAN_USED": 1.1,
"SPD_QUAN_PENDING": 1.1,
"SPD_YARD_ID": 1,
"SPD_YARD": "sample string 8",
"SPD_TYPE_ID": 1,
"SPD_TYPE": "sample string 9",
"SPD_DELIVER_TERMS_ID": "sample string 10",
"SPD_DELIVER_TERMS": "sample string 11",
"SPD_DPD_ID": 1
},
{
"SPD_ID": 1,
"SPD_PRC_ID": 1,
"SPD_PRC_CODE": "sample string 1",
"SPD_QUAN": 1.1,
"SPD_UOM_ID": 1,
"SPD_UOM_CODE": "sample string 2",
"SPD_RATE_QUAN": 1.1,
"SPD_RATE_CUR": 1,
"SPD_RATE_CUR_CODE": "sample string 3",
"SPD_TOT_COST": 1.1,
"SPD_TOT_CUR": 1,
"SPD_TOT_CUR_CODE": "sample string 4",
"SPD_BIN_NUM": "sample string 5",
"SPD_NOTES": "sample string 6",
"SPD_INV_ID": 1,
"SPD_INV_NUM": "sample string 7",
"SPD_QUAN_USED": 1.1,
"SPD_QUAN_PENDING": 1.1,
"SPD_YARD_ID": 1,
"SPD_YARD": "sample string 8",
"SPD_TYPE_ID": 1,
"SPD_TYPE": "sample string 9",
"SPD_DELIVER_TERMS_ID": "sample string 10",
"SPD_DELIVER_TERMS": "sample string 11",
"SPD_DPD_ID": 1
}
]
}
application/xml, text/xml
Sample:
<PurChaseOrderInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<STO_AP_ID>1</STO_AP_ID>
<STO_BILL_DATE>2025-12-17T13:12:05.7457245+00:00</STO_BILL_DATE>
<STO_CP_ID>1</STO_CP_ID>
<STO_CREATED_BY>1</STO_CREATED_BY>
<STO_DATE>2025-12-17T13:12:05.7457245+00:00</STO_DATE>
<STO_DSO_PO_ID>1</STO_DSO_PO_ID>
<STO_ID>1</STO_ID>
<STO_INVOICE_QTY>1.1</STO_INVOICE_QTY>
<STO_NOTES>sample string 3</STO_NOTES>
<STO_PO_DETAILS>
<STO_PO_DETAILS>
<SPD_BIN_NUM>sample string 5</SPD_BIN_NUM>
<SPD_DELIVER_TERMS>sample string 11</SPD_DELIVER_TERMS>
<SPD_DELIVER_TERMS_ID>sample string 10</SPD_DELIVER_TERMS_ID>
<SPD_DPD_ID>1</SPD_DPD_ID>
<SPD_ID>1</SPD_ID>
<SPD_INV_ID>1</SPD_INV_ID>
<SPD_INV_NUM>sample string 7</SPD_INV_NUM>
<SPD_NOTES>sample string 6</SPD_NOTES>
<SPD_PRC_CODE>sample string 1</SPD_PRC_CODE>
<SPD_PRC_ID>1</SPD_PRC_ID>
<SPD_QUAN>1.1</SPD_QUAN>
<SPD_QUAN_PENDING>1.1</SPD_QUAN_PENDING>
<SPD_QUAN_USED>1.1</SPD_QUAN_USED>
<SPD_RATE_CUR>1</SPD_RATE_CUR>
<SPD_RATE_CUR_CODE>sample string 3</SPD_RATE_CUR_CODE>
<SPD_RATE_QUAN>1.1</SPD_RATE_QUAN>
<SPD_TOT_COST>1.1</SPD_TOT_COST>
<SPD_TOT_CUR>1</SPD_TOT_CUR>
<SPD_TOT_CUR_CODE>sample string 4</SPD_TOT_CUR_CODE>
<SPD_TYPE>sample string 9</SPD_TYPE>
<SPD_TYPE_ID>1</SPD_TYPE_ID>
<SPD_UOM_CODE>sample string 2</SPD_UOM_CODE>
<SPD_UOM_ID>1</SPD_UOM_ID>
<SPD_YARD>sample string 8</SPD_YARD>
<SPD_YARD_ID>1</SPD_YARD_ID>
</STO_PO_DETAILS>
<STO_PO_DETAILS>
<SPD_BIN_NUM>sample string 5</SPD_BIN_NUM>
<SPD_DELIVER_TERMS>sample string 11</SPD_DELIVER_TERMS>
<SPD_DELIVER_TERMS_ID>sample string 10</SPD_DELIVER_TERMS_ID>
<SPD_DPD_ID>1</SPD_DPD_ID>
<SPD_ID>1</SPD_ID>
<SPD_INV_ID>1</SPD_INV_ID>
<SPD_INV_NUM>sample string 7</SPD_INV_NUM>
<SPD_NOTES>sample string 6</SPD_NOTES>
<SPD_PRC_CODE>sample string 1</SPD_PRC_CODE>
<SPD_PRC_ID>1</SPD_PRC_ID>
<SPD_QUAN>1.1</SPD_QUAN>
<SPD_QUAN_PENDING>1.1</SPD_QUAN_PENDING>
<SPD_QUAN_USED>1.1</SPD_QUAN_USED>
<SPD_RATE_CUR>1</SPD_RATE_CUR>
<SPD_RATE_CUR_CODE>sample string 3</SPD_RATE_CUR_CODE>
<SPD_RATE_QUAN>1.1</SPD_RATE_QUAN>
<SPD_TOT_COST>1.1</SPD_TOT_COST>
<SPD_TOT_CUR>1</SPD_TOT_CUR>
<SPD_TOT_CUR_CODE>sample string 4</SPD_TOT_CUR_CODE>
<SPD_TYPE>sample string 9</SPD_TYPE>
<SPD_TYPE_ID>1</SPD_TYPE_ID>
<SPD_UOM_CODE>sample string 2</SPD_UOM_CODE>
<SPD_UOM_ID>1</SPD_UOM_ID>
<SPD_YARD>sample string 8</SPD_YARD>
<SPD_YARD_ID>1</SPD_YARD_ID>
</STO_PO_DETAILS>
</STO_PO_DETAILS>
<STO_PO_NUM>sample string 1</STO_PO_NUM>
<STO_PROGRAM_ID>sample string 5</STO_PROGRAM_ID>
<STO_QTY>1</STO_QTY>
<STO_REFERENCE>sample string 2</STO_REFERENCE>
<STO_REFID>sample string 7</STO_REFID>
<STO_STATUS>sample string 8</STO_STATUS>
<STO_TRANSPORT_NAME>sample string 6</STO_TRANSPORT_NAME>
<STO_VEHICLE_NO>sample string 4</STO_VEHICLE_NO>
</PurChaseOrderInputs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |