Users

The users controller is only used to validate that credentials are sent correctly

APIDescription
GET api/users/ValidateLogin

Validates whether valid user credentials are sent.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

Invoices

APIDescription
POST api/Invoices/Validate

Validates if the invoice supplied can be imported into Sertica Invoice Management module
Does not modify any data in Sertica

The following fields are not part of the Import function, and will not be imported into Sertica: InvoiceNo, SupplierVATNo, PaymentConditionNo, ExternalRefID, AlternatePayerNo, AlternatePayerVATNo, Remarks, DocumentLink, InvoiceSubTotal, InvoiceTotalAmount, ExchangeRate, StandardCurrencyCode, InvoiceTotalAmountInStandardCurrency, Status, StatusCode, SupplierName, CompanyName, ResponsibleName, UnitName and DocumentSubTypeName.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

POST api/Invoices

Imports the invoice supplied into Sertica Invoice Management module

The following fields are not part of the Import function, and will not be imported into Sertica: InvoiceNo, SupplierVATNo, PaymentConditionNo, ExternalRefID, AlternatePayerNo, AlternatePayerVATNo, Remarks, DocumentLink, InvoiceSubTotal, InvoiceTotalAmount, ExchangeRate, StandardCurrencyCode, InvoiceTotalAmountInStandardCurrency, Status, StatusCode, SupplierName, CompanyName, ResponsibleName, UnitName and DocumentSubTypeName.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

POST api/Invoices/{sourceSystem}/{externalReference1}/InvoiceFile?extension={extension}

Used to upload a scanned copy of an invoice to the service.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets
Content-Type: image/tiff and application/pdf are currently only supported file formats if extension is null

POST api/Invoices/Search

Searches for Invoices in Sertica

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

GET api/Invoices/SearchInfo

SearchInfo explains what fields and combinations of operators that can be used when searching for Invoices.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

GET api/Invoices/{invoiceNo}/positions

Returns a list of Invoice Positions and Additional Costs for an Invoice.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets

GET api/Invoices/{externalReference1}/Approvers

Returns a list of Invoice Positions and Additional Costs for an Invoice.

Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets