POST api/ProvisionalPS
Request Information
URI Parameters
None.
Body Parameters
Z_ProvisionalPSHeaderDetailName | Description | Type | Additional information |
---|---|---|---|
psHeader | S_ProvisionalPSHeader |
None. |
|
psLine | Collection of S_ProvisionalPSLine |
None. |
Request Formats
application/json, text/json
Sample:
{ "psHeader": { "Id": 1, "ProvisionalId": "sample string 2", "ProvisionalDate": "2025-03-28T14:07:05.537475+00:00", "SOId": "sample string 4", "PSId": "sample string 5", "ProvisionalStatus": "sample string 6", "IsBarcodedFlag": "sample string 7", "BranchCode": 8, "CreatedBy": 9, "CreatedOn": "2025-03-28T14:07:05.537475+00:00" }, "psLine": [ { "Id": 1, "ProvisionalId": "sample string 2", "SOId": "sample string 3", "SOLineNo": 4, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "PickedQty": 1.0, "TotalRate": 1.0, "Warehouse": 7, "TransId": "sample string 8", "ProvisionalStatus": "sample string 9", "SupplierCode": "sample string 10", "BranchCode": 11 }, { "Id": 1, "ProvisionalId": "sample string 2", "SOId": "sample string 3", "SOLineNo": 4, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "PickedQty": 1.0, "TotalRate": 1.0, "Warehouse": 7, "TransId": "sample string 8", "ProvisionalStatus": "sample string 9", "SupplierCode": "sample string 10", "BranchCode": 11 } ] }
application/xml, text/xml
Sample:
<Z_ProvisionalPSHeaderDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <psHeader> <BranchCode>8</BranchCode> <CreatedBy>9</CreatedBy> <CreatedOn>2025-03-28T14:07:05.537475+00:00</CreatedOn> <Id>1</Id> <IsBarcodedFlag>sample string 7</IsBarcodedFlag> <PSId>sample string 5</PSId> <ProvisionalDate>2025-03-28T14:07:05.537475+00:00</ProvisionalDate> <ProvisionalId>sample string 2</ProvisionalId> <ProvisionalStatus>sample string 6</ProvisionalStatus> <SOId>sample string 4</SOId> </psHeader> <psLine> <S_ProvisionalPSLine> <BatchNo>sample string 6</BatchNo> <BranchCode>11</BranchCode> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <PickedQty>1</PickedQty> <ProvisionalId>sample string 2</ProvisionalId> <ProvisionalStatus>sample string 9</ProvisionalStatus> <SOId>sample string 3</SOId> <SOLineNo>4</SOLineNo> <SupplierCode>sample string 10</SupplierCode> <TotalRate>1</TotalRate> <TransId>sample string 8</TransId> <Warehouse>7</Warehouse> </S_ProvisionalPSLine> <S_ProvisionalPSLine> <BatchNo>sample string 6</BatchNo> <BranchCode>11</BranchCode> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <PickedQty>1</PickedQty> <ProvisionalId>sample string 2</ProvisionalId> <ProvisionalStatus>sample string 9</ProvisionalStatus> <SOId>sample string 3</SOId> <SOLineNo>4</SOLineNo> <SupplierCode>sample string 10</SupplierCode> <TotalRate>1</TotalRate> <TransId>sample string 8</TransId> <Warehouse>7</Warehouse> </S_ProvisionalPSLine> </psLine> </Z_ProvisionalPSHeaderDetail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |