POST api/vendorBilling/PostPayables
Request Information
URI Parameters
None.
Body Parameters
VendorBillPayablesBindingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsReceipt | boolean |
Required |
|
| Id | integer |
Required |
|
| VendorId | integer |
Required |
|
| Payables | Collection of TransloadShipmentPayableViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsReceipt": true,
"Id": 2,
"VendorId": 3,
"Payables": [
{
"ChargeId": 1,
"Quantity": 2.0,
"Rate": 3.0,
"FreeTime": 1.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"Code": "sample string 4",
"InvoiceId": 1,
"OriAddSup": 5,
"IsReadOnly": true,
"Note": "sample string 7",
"DateStart": "2025-12-05T21:32:35.7331406-08:00",
"DateEnd": "2025-12-05T21:32:35.7331406-08:00"
},
{
"ChargeId": 1,
"Quantity": 2.0,
"Rate": 3.0,
"FreeTime": 1.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"Code": "sample string 4",
"InvoiceId": 1,
"OriAddSup": 5,
"IsReadOnly": true,
"Note": "sample string 7",
"DateStart": "2025-12-05T21:32:35.7331406-08:00",
"DateEnd": "2025-12-05T21:32:35.7331406-08:00"
}
]
}
application/xml, text/xml
Sample:
<VendorBillPayablesBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.TransloadShipment">
<Id>2</Id>
<IsReceipt>true</IsReceipt>
<Payables>
<TransloadShipmentPayableViewModel>
<ChargeId>1</ChargeId>
<Code>sample string 4</Code>
<DateEnd>2025-12-05T21:32:35.7331406-08:00</DateEnd>
<DateStart>2025-12-05T21:32:35.7331406-08:00</DateStart>
<FreeTime>1</FreeTime>
<InvoiceId>1</InvoiceId>
<IsReadOnly>true</IsReadOnly>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Note>sample string 7</Note>
<OriAddSup>5</OriAddSup>
<Quantity>2</Quantity>
<Rate>3</Rate>
</TransloadShipmentPayableViewModel>
<TransloadShipmentPayableViewModel>
<ChargeId>1</ChargeId>
<Code>sample string 4</Code>
<DateEnd>2025-12-05T21:32:35.7331406-08:00</DateEnd>
<DateStart>2025-12-05T21:32:35.7331406-08:00</DateStart>
<FreeTime>1</FreeTime>
<InvoiceId>1</InvoiceId>
<IsReadOnly>true</IsReadOnly>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Note>sample string 7</Note>
<OriAddSup>5</OriAddSup>
<Quantity>2</Quantity>
<Rate>3</Rate>
</TransloadShipmentPayableViewModel>
</Payables>
<VendorId>3</VendorId>
</VendorBillPayablesBindingViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.