POST | /billing/quickbooks/invoice/log | Invoice creation logger for Quickbooks in the billing database |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
logEntry | body | TypeQBLogEntry | No | |
environment | body | N3TEnvironment | No |
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 |
Name | Value | |
---|---|---|
V1 | 1 | |
V2 | 2 | |
Test | 3 |
Name | Value | |
---|---|---|
Fatal | 1 | |
Error | 2 | |
Warning | 3 | |
Info | 4 | |
Critical | 5 |
DEV | |
QA | |
UAT | |
PROD | |
DEMO | |
EXT |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
logEntry:
{
runId: 00000000000000000000000000000000,
companyFile: V1,
timestamp: 0001-01-01,
typeLogLevel: Fatal,
org: String,
message: String,
stackTrace: String,
item: String,
glCode: String,
total: 0,
invoiceNumber: String
},
environment: DEV
}