HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/InvoiceRequest HTTP/1.1
Host: api.scflv.com
Content-Type: text/jsv
Content-Length: length
{
Invoice:
{
InvoiceId: 0,
SmartsheetsERCId: 0,
CreditAmount: 0,
InvoiceAmount: 0,
PaymentType: String,
InvoiceCreated: 0001-01-01,
InvoiceSent: 0001-01-01,
InvoicePaid: 0001-01-01,
InvoiceDeleted: 0001-01-01,
PayMethod: String,
Note: String,
Link: String,
BankAccountId: 0,
Memo: String
},
ErcUid: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
Invoice:
{
InvoiceId: 0,
SmartsheetsERCId: 0,
CreditAmount: 0,
InvoiceAmount: 0,
PaymentType: String,
InvoiceCreated: 0001-01-01,
InvoiceSent: 0001-01-01,
InvoicePaid: 0001-01-01,
InvoiceDeleted: 0001-01-01,
PayMethod: String,
Note: String,
Link: String,
BankAccountId: 0,
Memo: String
}
}