HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/InvoiceRequest HTTP/1.1
Host: api.scflv.com
Content-Type: application/xml
Content-Length: length
<InvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<ErcUid>00000000-0000-0000-0000-000000000000</ErcUid>
<Invoice>
<BankAccountId>0</BankAccountId>
<CreditAmount>0</CreditAmount>
<InvoiceAmount>0</InvoiceAmount>
<InvoiceCreated>0001-01-01T00:00:00</InvoiceCreated>
<InvoiceDeleted>0001-01-01T00:00:00</InvoiceDeleted>
<InvoiceId>0</InvoiceId>
<InvoicePaid>0001-01-01T00:00:00</InvoicePaid>
<InvoiceSent>0001-01-01T00:00:00</InvoiceSent>
<Link>String</Link>
<Memo>String</Memo>
<Note>String</Note>
<PayMethod>String</PayMethod>
<PaymentType>String</PaymentType>
<SmartsheetsERCId>0</SmartsheetsERCId>
</Invoice>
</InvoiceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<InvoiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<Invoice>
<BankAccountId>0</BankAccountId>
<CreditAmount>0</CreditAmount>
<InvoiceAmount>0</InvoiceAmount>
<InvoiceCreated>0001-01-01T00:00:00</InvoiceCreated>
<InvoiceDeleted>0001-01-01T00:00:00</InvoiceDeleted>
<InvoiceId>0</InvoiceId>
<InvoicePaid>0001-01-01T00:00:00</InvoicePaid>
<InvoiceSent>0001-01-01T00:00:00</InvoiceSent>
<Link>String</Link>
<Memo>String</Memo>
<Note>String</Note>
<PayMethod>String</PayMethod>
<PaymentType>String</PaymentType>
<SmartsheetsERCId>0</SmartsheetsERCId>
</Invoice>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</InvoiceResponse>