POST invoices/assigndeliveries
Request Information
URI Parameters
None.
Body Parameters
AddDeliveryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceId | integer |
None. |
|
| DeliveryIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"invoiceId": 1,
"deliveryIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<AddDeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Domain.Models">
<DeliveryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DeliveryIds>
<InvoiceId>1</InvoiceId>
</AddDeliveryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
|
| Status | integer |
None. |
|
| SerialNumber | integer |
None. |
|
| Price | decimal number |
None. |
|
| Tax | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| InvoiceNumber | string |
None. |
|
| PaymentMethodId | integer |
None. |
|
| UserCompanyId | integer |
None. |
|
| UserClientId | integer |
None. |
|
| Comments | string |
None. |
|
| TaxInvoiceDocumentId | integer |
None. |
|
| isReceipt | boolean |
None. |
|
| InvoiceDeliveries | Collection of InvoiceDelivery |
None. |
|
| PaymentMethod | PaymentMethod |
None. |
|
| Users_UserClient | Users_UserClient |
None. |
|
| Users_UserCompany | Users_UserCompany |
None. |
|
| TaxInvoiceDocuments | Collection of TaxInvoiceDocument |
None. |
|
| ClientName | string |
None. |
|
| sDateCreated | string |
None. |
|
| sDateFrom | string |
None. |
|
| sDateTo | string |
None. |
|
| RadioModel | integer |
None. |
|
| SendTaxInvoice | boolean |
None. |
|
| CurrencySymbol | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.