<back to all web services
LogQBEntryReq
The following routes are available for this service:| POST | /billing/quickbooks/invoice/log | Invoice creation logger for Quickbooks in the billing database | |
|---|
LogQBEntryReq Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| logEntry | body | TypeQBLogEntry | No | |
| environment | body | N3TEnvironment | No | |
TypeQBLogEntry Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| RunId | form | Guid | No | |
| CompanyFile | form | CompanyFile | No | |
| Timestamp | form | DateTime | No | |
| TypeLogLevel | form | LogLevel | No | |
| Org | form | string | No | |
| Message | form | string | No | |
| StackTrace | form | string | No | |
| Item | form | string | No | |
| GLCode | form | string | No | |
| Total | form | decimal | No | |
| InvoiceNumber | form | string | No | |
CompanyFile Enum:| Name | Value | |
|---|
| V1 | 1 | |
| V2 | 2 | |
| Test | 3 | |
LogLevel Enum:| Name | Value | |
|---|
| Fatal | 1 | |
| Error | 2 | |
| Warning | 3 | |
| Info | 4 | |
| Critical | 5 | |
N3TEnvironment Enum:| DEV | |
| QA | |
| UAT | |
| PROD | |
| DEMO | |
| EXT | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /billing/quickbooks/invoice/log HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<LogQBEntryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services">
<environment>DEV</environment>
<logEntry xmlns:d2p1="http://schemas.datacontract.org/2004/07/N3TEntities.Billing">
<d2p1:CompanyFile>V1</d2p1:CompanyFile>
<d2p1:GLCode>String</d2p1:GLCode>
<d2p1:InvoiceNumber>String</d2p1:InvoiceNumber>
<d2p1:Item>String</d2p1:Item>
<d2p1:Message>String</d2p1:Message>
<d2p1:Org>String</d2p1:Org>
<d2p1:RunId>00000000-0000-0000-0000-000000000000</d2p1:RunId>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Timestamp>0001-01-01T00:00:00</d2p1:Timestamp>
<d2p1:Total>0</d2p1:Total>
<d2p1:TypeLogLevel>Fatal</d2p1:TypeLogLevel>
</logEntry>
</LogQBEntryReq>