POST api/supplierDocketEnquiry/onInvoiceQuantityChanged
Request Information
URI Parameters
None.
Body Parameters
SupplierInvoiceCalculationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierInvoiceCalRequest | SupplierInvoiceCalRequest |
None. |
|
| SupplierInvoiceDetailsList | Collection of SupplierInvoiceDetailsModel |
None. |
|
| InvoiceContextDetails | InvoiceContextDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"SupplierInvoiceCalRequest": {
"InvQty": 1.0,
"PreviousInvQty": 2.0,
"InvoiceType": "sample string 3",
"InvPayItemNo": 4
},
"SupplierInvoiceDetailsList": [
{
"InvPayNo": 1,
"InvPayItemNo": 2,
"PorderNo": 3,
"PorderItemNo": 4,
"CatlogCode": "sample string 5",
"Description": "sample string 6",
"DocketNo": 7,
"PartNumber": "sample string 8",
"UomInv": "sample string 9",
"OrderQty": 10.0,
"GstPrice": 11.0,
"RecdQty": 12,
"ORecdQty": 13,
"InvQty": 14.0,
"InvQtyProg": 15.0,
"RecdQtyProg": 16.0,
"Price": 17.0,
"DiscountPct": 18.0,
"Amount": 19.0,
"GlDisburseCode": "sample string 20",
"GlLedger": "sample string 21",
"GlAccount": "sample string 22",
"GlNarration": "sample string 23",
"GlRefTbl": "sample string 24",
"GlRefCode": "sample string 25",
"GstAmount": 26.0,
"GstTotal": 27.0,
"GstRate": 28.0,
"GstStatus": 29,
"GstAltered": 30,
"AuthCode": "sample string 31",
"EquipCode": "sample string 32",
"EquipNo": 33,
"Status": "sample string 34",
"EmployeeNo": 35,
"ContractNumber": "sample string 36",
"CapexNo": "sample string 37",
"SuppCode": "sample string 38",
"RoundTripCharge": 39.0,
"ForeignTotal": 40.0,
"SourceCode": "sample string 41",
"SourceNo": 42,
"SubSourceNo": 43,
"ItemSourceNo": 44,
"SubItemSourceNo": 45
},
{
"InvPayNo": 1,
"InvPayItemNo": 2,
"PorderNo": 3,
"PorderItemNo": 4,
"CatlogCode": "sample string 5",
"Description": "sample string 6",
"DocketNo": 7,
"PartNumber": "sample string 8",
"UomInv": "sample string 9",
"OrderQty": 10.0,
"GstPrice": 11.0,
"RecdQty": 12,
"ORecdQty": 13,
"InvQty": 14.0,
"InvQtyProg": 15.0,
"RecdQtyProg": 16.0,
"Price": 17.0,
"DiscountPct": 18.0,
"Amount": 19.0,
"GlDisburseCode": "sample string 20",
"GlLedger": "sample string 21",
"GlAccount": "sample string 22",
"GlNarration": "sample string 23",
"GlRefTbl": "sample string 24",
"GlRefCode": "sample string 25",
"GstAmount": 26.0,
"GstTotal": 27.0,
"GstRate": 28.0,
"GstStatus": 29,
"GstAltered": 30,
"AuthCode": "sample string 31",
"EquipCode": "sample string 32",
"EquipNo": 33,
"Status": "sample string 34",
"EmployeeNo": 35,
"ContractNumber": "sample string 36",
"CapexNo": "sample string 37",
"SuppCode": "sample string 38",
"RoundTripCharge": 39.0,
"ForeignTotal": 40.0,
"SourceCode": "sample string 41",
"SourceNo": 42,
"SubSourceNo": 43,
"ItemSourceNo": 44,
"SubItemSourceNo": 45
}
],
"InvoiceContextDetails": {
"InvPayType": "sample string 1",
"DiscountPct": 2.0,
"GstInclusive": 3
}
}
text/xml
Sample:
<SupplierInvoiceCalculationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests">
<InvoiceContextDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.General">
<d2p1:DiscountPct>2</d2p1:DiscountPct>
<d2p1:GstInclusive>3</d2p1:GstInclusive>
<d2p1:InvPayType>sample string 1</d2p1:InvPayType>
</InvoiceContextDetails>
<SupplierInvoiceCalRequest>
<InvPayItemNo>4</InvPayItemNo>
<InvQty>1</InvQty>
<InvoiceType>sample string 3</InvoiceType>
<PreviousInvQty>2</PreviousInvQty>
</SupplierInvoiceCalRequest>
<SupplierInvoiceDetailsList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<d2p1:SupplierInvoiceDetailsModel>
<d2p1:Amount>19</d2p1:Amount>
<d2p1:AuthCode>sample string 31</d2p1:AuthCode>
<d2p1:CapexNo>sample string 37</d2p1:CapexNo>
<d2p1:CatlogCode>sample string 5</d2p1:CatlogCode>
<d2p1:ContractNumber>sample string 36</d2p1:ContractNumber>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:DiscountPct>18</d2p1:DiscountPct>
<d2p1:DocketNo>7</d2p1:DocketNo>
<d2p1:EmployeeNo>35</d2p1:EmployeeNo>
<d2p1:EquipCode>sample string 32</d2p1:EquipCode>
<d2p1:EquipNo>33</d2p1:EquipNo>
<d2p1:ForeignTotal>40</d2p1:ForeignTotal>
<d2p1:GlAccount>sample string 22</d2p1:GlAccount>
<d2p1:GlDisburseCode>sample string 20</d2p1:GlDisburseCode>
<d2p1:GlLedger>sample string 21</d2p1:GlLedger>
<d2p1:GlNarration>sample string 23</d2p1:GlNarration>
<d2p1:GlRefCode>sample string 25</d2p1:GlRefCode>
<d2p1:GlRefTbl>sample string 24</d2p1:GlRefTbl>
<d2p1:GstAltered>30</d2p1:GstAltered>
<d2p1:GstAmount>26</d2p1:GstAmount>
<d2p1:GstPrice>11</d2p1:GstPrice>
<d2p1:GstRate>28</d2p1:GstRate>
<d2p1:GstStatus>29</d2p1:GstStatus>
<d2p1:GstTotal>27</d2p1:GstTotal>
<d2p1:InvPayItemNo>2</d2p1:InvPayItemNo>
<d2p1:InvPayNo>1</d2p1:InvPayNo>
<d2p1:InvQty>14</d2p1:InvQty>
<d2p1:InvQtyProg>15</d2p1:InvQtyProg>
<d2p1:ItemSourceNo>44</d2p1:ItemSourceNo>
<d2p1:ORecdQty>13</d2p1:ORecdQty>
<d2p1:OrderQty>10</d2p1:OrderQty>
<d2p1:PartNumber>sample string 8</d2p1:PartNumber>
<d2p1:PorderItemNo>4</d2p1:PorderItemNo>
<d2p1:PorderNo>3</d2p1:PorderNo>
<d2p1:Price>17</d2p1:Price>
<d2p1:RecdQty>12</d2p1:RecdQty>
<d2p1:RecdQtyProg>16</d2p1:RecdQtyProg>
<d2p1:RoundTripCharge>39</d2p1:RoundTripCharge>
<d2p1:SourceCode>sample string 41</d2p1:SourceCode>
<d2p1:SourceNo>42</d2p1:SourceNo>
<d2p1:Status>sample string 34</d2p1:Status>
<d2p1:SubItemSourceNo>45</d2p1:SubItemSourceNo>
<d2p1:SubSourceNo>43</d2p1:SubSourceNo>
<d2p1:SuppCode>sample string 38</d2p1:SuppCode>
<d2p1:UomInv>sample string 9</d2p1:UomInv>
</d2p1:SupplierInvoiceDetailsModel>
<d2p1:SupplierInvoiceDetailsModel>
<d2p1:Amount>19</d2p1:Amount>
<d2p1:AuthCode>sample string 31</d2p1:AuthCode>
<d2p1:CapexNo>sample string 37</d2p1:CapexNo>
<d2p1:CatlogCode>sample string 5</d2p1:CatlogCode>
<d2p1:ContractNumber>sample string 36</d2p1:ContractNumber>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:DiscountPct>18</d2p1:DiscountPct>
<d2p1:DocketNo>7</d2p1:DocketNo>
<d2p1:EmployeeNo>35</d2p1:EmployeeNo>
<d2p1:EquipCode>sample string 32</d2p1:EquipCode>
<d2p1:EquipNo>33</d2p1:EquipNo>
<d2p1:ForeignTotal>40</d2p1:ForeignTotal>
<d2p1:GlAccount>sample string 22</d2p1:GlAccount>
<d2p1:GlDisburseCode>sample string 20</d2p1:GlDisburseCode>
<d2p1:GlLedger>sample string 21</d2p1:GlLedger>
<d2p1:GlNarration>sample string 23</d2p1:GlNarration>
<d2p1:GlRefCode>sample string 25</d2p1:GlRefCode>
<d2p1:GlRefTbl>sample string 24</d2p1:GlRefTbl>
<d2p1:GstAltered>30</d2p1:GstAltered>
<d2p1:GstAmount>26</d2p1:GstAmount>
<d2p1:GstPrice>11</d2p1:GstPrice>
<d2p1:GstRate>28</d2p1:GstRate>
<d2p1:GstStatus>29</d2p1:GstStatus>
<d2p1:GstTotal>27</d2p1:GstTotal>
<d2p1:InvPayItemNo>2</d2p1:InvPayItemNo>
<d2p1:InvPayNo>1</d2p1:InvPayNo>
<d2p1:InvQty>14</d2p1:InvQty>
<d2p1:InvQtyProg>15</d2p1:InvQtyProg>
<d2p1:ItemSourceNo>44</d2p1:ItemSourceNo>
<d2p1:ORecdQty>13</d2p1:ORecdQty>
<d2p1:OrderQty>10</d2p1:OrderQty>
<d2p1:PartNumber>sample string 8</d2p1:PartNumber>
<d2p1:PorderItemNo>4</d2p1:PorderItemNo>
<d2p1:PorderNo>3</d2p1:PorderNo>
<d2p1:Price>17</d2p1:Price>
<d2p1:RecdQty>12</d2p1:RecdQty>
<d2p1:RecdQtyProg>16</d2p1:RecdQtyProg>
<d2p1:RoundTripCharge>39</d2p1:RoundTripCharge>
<d2p1:SourceCode>sample string 41</d2p1:SourceCode>
<d2p1:SourceNo>42</d2p1:SourceNo>
<d2p1:Status>sample string 34</d2p1:Status>
<d2p1:SubItemSourceNo>45</d2p1:SubItemSourceNo>
<d2p1:SubSourceNo>43</d2p1:SubSourceNo>
<d2p1:SuppCode>sample string 38</d2p1:SuppCode>
<d2p1:UomInv>sample string 9</d2p1:UomInv>
</d2p1:SupplierInvoiceDetailsModel>
</SupplierInvoiceDetailsList>
</SupplierInvoiceCalculationRequest>
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. |