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 | |
EM_Templates_RecID | query | string | No | |
EM_Templates_RecIDStartsWith | query | string | No | |
EM_Templates_RecIDEndsWith | query | string | No | |
EM_Templates_RecIDContains | query | string | No | |
EM_Templates_RecIDLike | query | string | No | |
EM_Templates_RecIDBetween | query | string[] | No | |
EM_Templates_RecIDIn | query | string[] | No | |
SY_File_FileID | query | string | No | |
SY_File_FileIDStartsWith | query | string | No | |
SY_File_FileIDEndsWith | query | string | No | |
SY_File_FileIDContains | query | string | No | |
SY_File_FileIDLike | query | string | No | |
SY_File_FileIDBetween | query | string[] | No | |
SY_File_FileIDIn | query | string[] | 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 | |
EM_Templates_RecID | form | string | No | |
SY_File_FileID | form | string | 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/EM_TemplateAttachmentsQuery 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"],"EM_Templates_RecID":"String","EM_Templates_RecIDStartsWith":"String","EM_Templates_RecIDEndsWith":"String","EM_Templates_RecIDContains":"String","EM_Templates_RecIDLike":"String","EM_Templates_RecIDBetween":["String"],"EM_Templates_RecIDIn":["String"],"SY_File_FileID":"String","SY_File_FileIDStartsWith":"String","SY_File_FileIDEndsWith":"String","SY_File_FileIDContains":"String","SY_File_FileIDLike":"String","SY_File_FileIDBetween":["String"],"SY_File_FileIDIn":["String"],"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","EM_Templates_RecID":"String","SY_File_FileID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}