POST
api/v1/import-purchase-request?from={from}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| from | string |
Required |
Body Parameters
Collection of ImportPurchaseRequests| Name | Description | Type | Additional information |
|---|---|---|---|
| UserDefinedGUID | globally unique identifier |
None. |
|
| DocNum | string |
None. |
|
| DocType | string |
None. |
|
| BPCode | string |
None. |
|
| BPName | string |
None. |
|
| DocDate | date |
None. |
|
| UpdateDate | date |
None. |
|
| BillToId | integer |
None. |
|
| BillToAddress | string |
None. |
|
| ShipToAddress | string |
None. |
|
| VendorRefNo | string |
None. |
|
| TotalTax | decimal number |
None. |
|
| DiscPrcnt | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| DocTotal | decimal number |
None. |
|
| LineTotal | decimal number |
None. |
|
| Remarks | string |
None. |
|
| DocStatus | string |
None. |
|
| PaymentTermsCode | integer |
None. |
|
| ItemCode | string |
None. |
|
| Barcode | string |
None. |
|
| SkuMatrixCode | string |
None. |
|
| Description | string |
None. |
|
| SkuFilterPriceId | integer |
None. |
|
| SkuDetailId | integer |
None. |
|
| Quantity | integer |
None. |
|
| WhsCode | integer |
None. |
|
| Price | decimal number |
None. |
|
| OpenQty | decimal number |
None. |
|
| ShipDate | date |
None. |
|
| PackSize | string |
None. |
|
| PurchasePrice | string |
None. |
|
| BasedOnPurchaseRequest | string |
None. |
|
| BasedOnPurchaseQuotation | string |
None. |
|
| BasedOnPurchaseOrder | string |
None. |
Request Formats
application/json, text/json
[
{
"UserDefinedGUID": "f5626f2c-6163-40ad-a359-7ed4f89228d1",
"DocNum": "sample string 2",
"DocType": "sample string 3",
"BPCode": "sample string 4",
"BPName": "sample string 5",
"DocDate": "2026-02-04T11:10:09.0149155+00:00",
"UpdateDate": "2026-02-04T11:10:09.0149155+00:00",
"BillToId": 8,
"BillToAddress": "sample string 9",
"ShipToAddress": "sample string 10",
"VendorRefNo": "sample string 11",
"TotalTax": 12.0,
"DiscPrcnt": 13.0,
"TotalDiscount": 14.0,
"DocTotal": 15.0,
"LineTotal": 16.0,
"Remarks": "sample string 17",
"DocStatus": "sample string 18",
"PaymentTermsCode": 19,
"ItemCode": "sample string 20",
"Barcode": "sample string 21",
"SkuMatrixCode": "sample string 22",
"Description": "sample string 23",
"SkuFilterPriceId": 24,
"SkuDetailId": 25,
"Quantity": 26,
"WhsCode": 27,
"Price": 28.0,
"OpenQty": 29.0,
"ShipDate": "2026-02-04T11:10:09.0149155+00:00",
"PackSize": "sample string 31",
"PurchasePrice": "sample string 32",
"BasedOnPurchaseRequest": "sample string 33",
"BasedOnPurchaseQuotation": "sample string 34",
"BasedOnPurchaseOrder": "sample string 35"
},
{
"UserDefinedGUID": "f5626f2c-6163-40ad-a359-7ed4f89228d1",
"DocNum": "sample string 2",
"DocType": "sample string 3",
"BPCode": "sample string 4",
"BPName": "sample string 5",
"DocDate": "2026-02-04T11:10:09.0149155+00:00",
"UpdateDate": "2026-02-04T11:10:09.0149155+00:00",
"BillToId": 8,
"BillToAddress": "sample string 9",
"ShipToAddress": "sample string 10",
"VendorRefNo": "sample string 11",
"TotalTax": 12.0,
"DiscPrcnt": 13.0,
"TotalDiscount": 14.0,
"DocTotal": 15.0,
"LineTotal": 16.0,
"Remarks": "sample string 17",
"DocStatus": "sample string 18",
"PaymentTermsCode": 19,
"ItemCode": "sample string 20",
"Barcode": "sample string 21",
"SkuMatrixCode": "sample string 22",
"Description": "sample string 23",
"SkuFilterPriceId": 24,
"SkuDetailId": 25,
"Quantity": 26,
"WhsCode": 27,
"Price": 28.0,
"OpenQty": 29.0,
"ShipDate": "2026-02-04T11:10:09.0149155+00:00",
"PackSize": "sample string 31",
"PurchasePrice": "sample string 32",
"BasedOnPurchaseRequest": "sample string 33",
"BasedOnPurchaseQuotation": "sample string 34",
"BasedOnPurchaseOrder": "sample string 35"
}
]
text/html
[{"UserDefinedGUID":"f5626f2c-6163-40ad-a359-7ed4f89228d1","DocNum":"sample string 2","DocType":"sample string 3","BPCode":"sample string 4","BPName":"sample string 5","DocDate":"2026-02-04T11:10:09.0149155+00:00","UpdateDate":"2026-02-04T11:10:09.0149155+00:00","BillToId":8,"BillToAddress":"sample string 9","ShipToAddress":"sample string 10","VendorRefNo":"sample string 11","TotalTax":12.0,"DiscPrcnt":13.0,"TotalDiscount":14.0,"DocTotal":15.0,"LineTotal":16.0,"Remarks":"sample string 17","DocStatus":"sample string 18","PaymentTermsCode":19,"ItemCode":"sample string 20","Barcode":"sample string 21","SkuMatrixCode":"sample string 22","Description":"sample string 23","SkuFilterPriceId":24,"SkuDetailId":25,"Quantity":26,"WhsCode":27,"Price":28.0,"OpenQty":29.0,"ShipDate":"2026-02-04T11:10:09.0149155+00:00","PackSize":"sample string 31","PurchasePrice":"sample string 32","BasedOnPurchaseRequest":"sample string 33","BasedOnPurchaseQuotation":"sample string 34","BasedOnPurchaseOrder":"sample string 35"},{"UserDefinedGUID":"f5626f2c-6163-40ad-a359-7ed4f89228d1","DocNum":"sample string 2","DocType":"sample string 3","BPCode":"sample string 4","BPName":"sample string 5","DocDate":"2026-02-04T11:10:09.0149155+00:00","UpdateDate":"2026-02-04T11:10:09.0149155+00:00","BillToId":8,"BillToAddress":"sample string 9","ShipToAddress":"sample string 10","VendorRefNo":"sample string 11","TotalTax":12.0,"DiscPrcnt":13.0,"TotalDiscount":14.0,"DocTotal":15.0,"LineTotal":16.0,"Remarks":"sample string 17","DocStatus":"sample string 18","PaymentTermsCode":19,"ItemCode":"sample string 20","Barcode":"sample string 21","SkuMatrixCode":"sample string 22","Description":"sample string 23","SkuFilterPriceId":24,"SkuDetailId":25,"Quantity":26,"WhsCode":27,"Price":28.0,"OpenQty":29.0,"ShipDate":"2026-02-04T11:10:09.0149155+00:00","PackSize":"sample string 31","PurchasePrice":"sample string 32","BasedOnPurchaseRequest":"sample string 33","BasedOnPurchaseQuotation":"sample string 34","BasedOnPurchaseOrder":"sample string 35"}]
application/xml, text/xml
<ArrayOfImportPurchaseRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Purchase">
<ImportPurchaseRequests>
<BPCode>sample string 4</BPCode>
<BPName>sample string 5</BPName>
<Barcode>sample string 21</Barcode>
<BasedOnPurchaseOrder>sample string 35</BasedOnPurchaseOrder>
<BasedOnPurchaseQuotation>sample string 34</BasedOnPurchaseQuotation>
<BasedOnPurchaseRequest>sample string 33</BasedOnPurchaseRequest>
<BillToAddress>sample string 9</BillToAddress>
<BillToId>8</BillToId>
<Description>sample string 23</Description>
<DiscPrcnt>13</DiscPrcnt>
<DocDate>2026-02-04T11:10:09.0149155+00:00</DocDate>
<DocNum>sample string 2</DocNum>
<DocStatus>sample string 18</DocStatus>
<DocTotal>15</DocTotal>
<DocType>sample string 3</DocType>
<ItemCode>sample string 20</ItemCode>
<LineTotal>16</LineTotal>
<OpenQty>29</OpenQty>
<PackSize>sample string 31</PackSize>
<PaymentTermsCode>19</PaymentTermsCode>
<Price>28</Price>
<PurchasePrice>sample string 32</PurchasePrice>
<Quantity>26</Quantity>
<Remarks>sample string 17</Remarks>
<ShipDate>2026-02-04T11:10:09.0149155+00:00</ShipDate>
<ShipToAddress>sample string 10</ShipToAddress>
<SkuDetailId>25</SkuDetailId>
<SkuFilterPriceId>24</SkuFilterPriceId>
<SkuMatrixCode>sample string 22</SkuMatrixCode>
<TotalDiscount>14</TotalDiscount>
<TotalTax>12</TotalTax>
<UpdateDate>2026-02-04T11:10:09.0149155+00:00</UpdateDate>
<UserDefinedGUID>f5626f2c-6163-40ad-a359-7ed4f89228d1</UserDefinedGUID>
<VendorRefNo>sample string 11</VendorRefNo>
<WhsCode>27</WhsCode>
</ImportPurchaseRequests>
<ImportPurchaseRequests>
<BPCode>sample string 4</BPCode>
<BPName>sample string 5</BPName>
<Barcode>sample string 21</Barcode>
<BasedOnPurchaseOrder>sample string 35</BasedOnPurchaseOrder>
<BasedOnPurchaseQuotation>sample string 34</BasedOnPurchaseQuotation>
<BasedOnPurchaseRequest>sample string 33</BasedOnPurchaseRequest>
<BillToAddress>sample string 9</BillToAddress>
<BillToId>8</BillToId>
<Description>sample string 23</Description>
<DiscPrcnt>13</DiscPrcnt>
<DocDate>2026-02-04T11:10:09.0149155+00:00</DocDate>
<DocNum>sample string 2</DocNum>
<DocStatus>sample string 18</DocStatus>
<DocTotal>15</DocTotal>
<DocType>sample string 3</DocType>
<ItemCode>sample string 20</ItemCode>
<LineTotal>16</LineTotal>
<OpenQty>29</OpenQty>
<PackSize>sample string 31</PackSize>
<PaymentTermsCode>19</PaymentTermsCode>
<Price>28</Price>
<PurchasePrice>sample string 32</PurchasePrice>
<Quantity>26</Quantity>
<Remarks>sample string 17</Remarks>
<ShipDate>2026-02-04T11:10:09.0149155+00:00</ShipDate>
<ShipToAddress>sample string 10</ShipToAddress>
<SkuDetailId>25</SkuDetailId>
<SkuFilterPriceId>24</SkuFilterPriceId>
<SkuMatrixCode>sample string 22</SkuMatrixCode>
<TotalDiscount>14</TotalDiscount>
<TotalTax>12</TotalTax>
<UpdateDate>2026-02-04T11:10:09.0149155+00:00</UpdateDate>
<UserDefinedGUID>f5626f2c-6163-40ad-a359-7ed4f89228d1</UserDefinedGUID>
<VendorRefNo>sample string 11</VendorRefNo>
<WhsCode>27</WhsCode>
</ImportPurchaseRequests>
</ArrayOfImportPurchaseRequests>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: boolean
Response Formats
application/json, text/json, text/html
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
