POST api/aade/sendInvoice
Request Information
URI Parameters
None.
Body Parameters
Cyberlogic.eTourism.Domain.Models.AADE.AADERequestDtoName | Description | Type | Additional information |
---|---|---|---|
DocumentId | integer |
None. |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentId": 1, "UserId": 1 }
text/html
Sample:
{"DocumentId":1,"UserId":1}
application/xml, text/xml
Sample:
<AADERequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.Models.AADE"> <DocumentId>1</DocumentId> <UserId>1</UserId> </AADERequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Cyberlogic.eTourism.Domain.Models.AADE.AADEResponseDtoName | Description | Type | Additional information |
---|---|---|---|
DocumentId | integer |
None. |
|
SaleId | integer |
None. |
|
CompanyId | integer |
None. |
|
UserId | integer |
None. |
|
TaxUrl | string |
None. |
|
AADEInvoiceUid | string |
None. |
|
AADEInvoiceMark | string |
None. |
|
AADEInvoiceQrUrl | string |
None. |
|
AADEStatusCode | string |
None. |
|
Sent | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Errors | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "DocumentId": 1, "SaleId": 1, "CompanyId": 2, "UserId": 1, "TaxUrl": "sample string 3", "AADEInvoiceUid": "sample string 4", "AADEInvoiceMark": "sample string 5", "AADEInvoiceQrUrl": "sample string 6", "AADEStatusCode": "sample string 7", "Sent": true, "ErrorMessage": "sample string 9", "Errors": [ {}, {} ] }
text/html
Sample:
{"DocumentId":1,"SaleId":1,"CompanyId":2,"UserId":1,"TaxUrl":"sample string 3","AADEInvoiceUid":"sample string 4","AADEInvoiceMark":"sample string 5","AADEInvoiceQrUrl":"sample string 6","AADEStatusCode":"sample string 7","Sent":true,"ErrorMessage":"sample string 9","Errors":[{},{}]}
application/xml, text/xml
Sample:
<AADEResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.Models.AADE"> <AADEInvoiceMark>sample string 5</AADEInvoiceMark> <AADEInvoiceQrUrl>sample string 6</AADEInvoiceQrUrl> <AADEInvoiceUid>sample string 4</AADEInvoiceUid> <AADEStatusCode>sample string 7</AADEStatusCode> <CompanyId>2</CompanyId> <DocumentId>1</DocumentId> <ErrorMessage>sample string 9</ErrorMessage> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </Errors> <SaleId>1</SaleId> <Sent>true</Sent> <TaxUrl>sample string 3</TaxUrl> <UserId>1</UserId> </AADEResponseDto>