POST api/Order/SendInvoiceToQB
Request Information
URI Parameters
None.
Body Parameters
QBApiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| password | string |
None. |
|
| orderid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"orderid": "9501cde9-a32a-4c75-a762-e5111fb3274f"
}
application/xml, text/xml
Sample:
<QBApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SestekCrm.Entities.Concrete.SalesModels"> <orderid>9501cde9-a32a-4c75-a762-e5111fb3274f</orderid> <password>sample string 2</password> <username>sample string 1</username> </QBApiModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Flag | boolean |
None. |
|
| RetId | globally unique identifier |
None. |
|
| Message | string |
None. |
|
| StatusCode | integer |
None. |
|
| DocNumber | string |
None. |
|
| Date | date |
None. |
|
| TotalAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Flag": true,
"RetId": "70b52743-1695-46cd-a045-3460ea63439c",
"Message": "sample string 2",
"StatusCode": 3,
"DocNumber": "sample string 4",
"Date": "2026-04-04T08:00:28.8634335+03:00",
"TotalAmount": 6.0
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SestekCrm.Entities"> <Date>2026-04-04T08:00:28.8634335+03:00</Date> <DocNumber>sample string 4</DocNumber> <Flag>true</Flag> <Message>sample string 2</Message> <RetId>70b52743-1695-46cd-a045-3460ea63439c</RetId> <StatusCode>3</StatusCode> <TotalAmount>6</TotalAmount> </Response>