JiwaAPI

<back to all web services

DebtorClassificationsQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/DebtorClassificationsDebtor classifications with their Trade Customer flag, default flag, terms, pricing group and price scheme (AutoQuery: Skip, Take, OrderBy, Fields, Include=Total and column filters).
DebtorClassificationsQuery Parameters:
NameParameterData TypeRequiredDescription
DebtorClassificationIDquerystringNo
DebtorClassificationIDInquerystring[]No
DescriptionquerystringNo
IsTradeCustomerquerybool?No
IsDefaultquerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_TFM_DebtorClassifications Parameters:
NameParameterData TypeRequiredDescription
DebtorClassificationIDformstringNo
DescriptionformstringNo
IsDefaultformbool?No
TermsDaysformshort?No
PricingGroupIDformstringNo
PriceSchemeIDformstringNo
LastSavedDateTimeformDateTime?No
IsTradeCustomerformbool?No
TradeCustomerLastSavedDateTimeformDateTime?No
TradeCustomerLastModifiedByformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Queries/DebtorClassifications HTTP/1.1 
Host: testapi.wagga.redpoint.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"DebtorClassificationID":"String","Description":"String","IsDefault":false,"TermsDays":0,"PricingGroupID":"String","PriceSchemeID":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","IsTradeCustomer":false,"TradeCustomerLastSavedDateTime":"0001-01-01T00:00:00.0000000","TradeCustomerLastModifiedBy":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}