POST api/Invoice/CreateSaleInvoice
Request Information
URI Parameters
None.
Body Parameters
CreateNewInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthenticationCode | string |
None. |
|
| InvoiceCopyId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthenticationCode": "sample string 1",
"InvoiceCopyId": 2,
"InvoiceId": 3,
"LanguageId": 4
}
text/html
Sample:
{"AuthenticationCode":"sample string 1","InvoiceCopyId":2,"InvoiceId":3,"LanguageId":4}
application/xml, text/xml
Sample:
<CreateNewInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel"> <AuthenticationCode>sample string 1</AuthenticationCode> <InvoiceCopyId>2</InvoiceCopyId> <InvoiceId>3</InvoiceId> <LanguageId>4</LanguageId> </CreateNewInvoice>
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. |