Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | query | string | No | |
RecIDStartsWith | query | string | No | |
RecIDEndsWith | query | string | No | |
RecIDContains | query | string | No | |
RecIDLike | query | string | No | |
RecIDBetween | query | string[] | No | |
RecIDIn | query | string[] | No | |
SM_Parts_RecID | query | string | No | |
SM_Parts_RecIDStartsWith | query | string | No | |
SM_Parts_RecIDEndsWith | query | string | No | |
SM_Parts_RecIDContains | query | string | No | |
SM_Parts_RecIDLike | query | string | No | |
SM_Parts_RecIDBetween | query | string[] | No | |
SM_Parts_RecIDIn | query | string[] | No | |
LinkID | query | string | No | |
LinkIDStartsWith | query | string | No | |
LinkIDEndsWith | query | string | No | |
LinkIDContains | query | string | No | |
LinkIDLike | query | string | No | |
LinkIDBetween | query | string[] | No | |
LinkIDIn | query | string[] | No | |
Quantity | query | decimal? | No | |
QuantityGreaterThanOrEqualTo | query | decimal? | No | |
QuantityGreaterThan | query | decimal? | No | |
QuantityLessThan | query | decimal? | No | |
QuantityLessThanOrEqualTo | query | decimal? | No | |
QuantityNotEqualTo | query | decimal? | No | |
QuantityBetween | query | Nullable<Decimal>[] | No | |
QuantityIn | query | Nullable<Decimal>[] | No | |
Mode | query | byte? | No | |
ModeGreaterThanOrEqualTo | query | byte? | No | |
ModeGreaterThan | query | byte? | No | |
ModeLessThan | query | byte? | No | |
ModeLessThanOrEqualTo | query | byte? | No | |
ModeNotEqualTo | query | byte? | No | |
ModeBetween | query | Nullable<Byte>[] | No | |
ModeIn | query | Nullable<Byte>[] | No | |
Cost | query | decimal? | No | |
CostGreaterThanOrEqualTo | query | decimal? | No | |
CostGreaterThan | query | decimal? | No | |
CostLessThan | query | decimal? | No | |
CostLessThanOrEqualTo | query | decimal? | No | |
CostNotEqualTo | query | decimal? | No | |
CostBetween | query | Nullable<Decimal>[] | No | |
CostIn | query | Nullable<Decimal>[] | No | |
TaxPaid | query | decimal? | No | |
TaxPaidGreaterThanOrEqualTo | query | decimal? | No | |
TaxPaidGreaterThan | query | decimal? | No | |
TaxPaidLessThan | query | decimal? | No | |
TaxPaidLessThanOrEqualTo | query | decimal? | No | |
TaxPaidNotEqualTo | query | decimal? | No | |
TaxPaidBetween | query | Nullable<Decimal>[] | No | |
TaxPaidIn | query | Nullable<Decimal>[] | No | |
SerialNo | query | string | No | |
SerialNoStartsWith | query | string | No | |
SerialNoEndsWith | query | string | No | |
SerialNoContains | query | string | No | |
SerialNoLike | query | string | No | |
SerialNoBetween | query | string[] | No | |
SerialNoIn | query | string[] | No | |
ExpiryDate | query | DateTime? | No | |
ExpiryDateGreaterThanOrEqualTo | query | DateTime? | No | |
ExpiryDateGreaterThan | query | DateTime? | No | |
ExpiryDateLessThan | query | DateTime? | No | |
ExpiryDateLessThanOrEqualTo | query | DateTime? | No | |
ExpiryDateNotEqualTo | query | DateTime? | No | |
ExpiryDateBetween | query | Nullable<DateTime>[] | No | |
ExpiryDateIn | query | Nullable<DateTime>[] | No | |
LastSavedDateTime | query | DateTime? | No | |
LastSavedDateTimeGreaterThanOrEqualTo | query | DateTime? | No | |
LastSavedDateTimeGreaterThan | query | DateTime? | No | |
LastSavedDateTimeLessThan | query | DateTime? | No | |
LastSavedDateTimeLessThanOrEqualTo | query | DateTime? | No | |
LastSavedDateTimeNotEqualTo | query | DateTime? | No | |
LastSavedDateTimeBetween | query | DateTime[] | No | |
LastSavedDateTimeIn | query | DateTime[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | form | string | No | |
SM_Parts_RecID | form | string | No | |
LinkID | form | string | No | |
Quantity | form | decimal? | No | |
Mode | form | byte? | No | |
Cost | form | decimal? | No | |
TaxPaid | form | decimal? | No | |
SerialNo | form | string | No | |
ExpiryDate | form | DateTime? | No | |
LastSavedDateTime | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<T> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/SM_PartLineDetailsQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RecID":"String","RecIDStartsWith":"String","RecIDEndsWith":"String","RecIDContains":"String","RecIDLike":"String","RecIDBetween":["String"],"RecIDIn":["String"],"SM_Parts_RecID":"String","SM_Parts_RecIDStartsWith":"String","SM_Parts_RecIDEndsWith":"String","SM_Parts_RecIDContains":"String","SM_Parts_RecIDLike":"String","SM_Parts_RecIDBetween":["String"],"SM_Parts_RecIDIn":["String"],"LinkID":"String","LinkIDStartsWith":"String","LinkIDEndsWith":"String","LinkIDContains":"String","LinkIDLike":"String","LinkIDBetween":["String"],"LinkIDIn":["String"],"Quantity":0,"QuantityGreaterThanOrEqualTo":0,"QuantityGreaterThan":0,"QuantityLessThan":0,"QuantityLessThanOrEqualTo":0,"QuantityNotEqualTo":0,"QuantityBetween":[0],"QuantityIn":[0],"Mode":0,"ModeGreaterThanOrEqualTo":0,"ModeGreaterThan":0,"ModeLessThan":0,"ModeLessThanOrEqualTo":0,"ModeNotEqualTo":0,"ModeBetween":[0],"ModeIn":[0],"Cost":0,"CostGreaterThanOrEqualTo":0,"CostGreaterThan":0,"CostLessThan":0,"CostLessThanOrEqualTo":0,"CostNotEqualTo":0,"CostBetween":[0],"CostIn":[0],"TaxPaid":0,"TaxPaidGreaterThanOrEqualTo":0,"TaxPaidGreaterThan":0,"TaxPaidLessThan":0,"TaxPaidLessThanOrEqualTo":0,"TaxPaidNotEqualTo":0,"TaxPaidBetween":[0],"TaxPaidIn":[0],"SerialNo":"String","SerialNoStartsWith":"String","SerialNoEndsWith":"String","SerialNoContains":"String","SerialNoLike":"String","SerialNoBetween":["String"],"SerialNoIn":["String"],"ExpiryDate":"0001-01-01T00:00:00.0000000","ExpiryDateGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","ExpiryDateGreaterThan":"0001-01-01T00:00:00.0000000","ExpiryDateLessThan":"0001-01-01T00:00:00.0000000","ExpiryDateLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","ExpiryDateNotEqualTo":"0001-01-01T00:00:00.0000000","ExpiryDateBetween":["0001-01-01T00:00:00.0000000"],"ExpiryDateIn":["0001-01-01T00:00:00.0000000"],"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeNotEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeBetween":["0001-01-01T00:00:00.0000000"],"LastSavedDateTimeIn":["0001-01-01T00:00:00.0000000"],"Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Results":[{"RecID":"String","SM_Parts_RecID":"String","LinkID":"String","Quantity":0,"Mode":0,"Cost":0,"TaxPaid":0,"SerialNo":"String","ExpiryDate":"0001-01-01T00:00:00.0000000"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}