JiwaAPI

<back to all web services

SY_FileQuery

Requires Authentication
SY_FileQuery Parameters:
NameParameterData TypeRequiredDescription
FileIDquerystringNo
FileIDStartsWithquerystringNo
FileIDEndsWithquerystringNo
FileIDContainsquerystringNo
FileIDLikequerystringNo
FileIDBetweenquerystring[]No
FileIDInquerystring[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryDateTime[]No
LastSavedDateTimeInqueryDateTime[]No
PhysicalFileNamequerystringNo
PhysicalFileNameStartsWithquerystringNo
PhysicalFileNameEndsWithquerystringNo
PhysicalFileNameContainsquerystringNo
PhysicalFileNameLikequerystringNo
PhysicalFileNameBetweenquerystring[]No
PhysicalFileNameInquerystring[]No
FullPhysicalFileNamequerystringNo
FullPhysicalFileNameStartsWithquerystringNo
FullPhysicalFileNameEndsWithquerystringNo
FullPhysicalFileNameContainsquerystringNo
FullPhysicalFileNameLikequerystringNo
FullPhysicalFileNameBetweenquerystring[]No
FullPhysicalFileNameInquerystring[]No
FileDescriptionquerystringNo
FileDescriptionStartsWithquerystringNo
FileDescriptionEndsWithquerystringNo
FileDescriptionContainsquerystringNo
FileDescriptionLikequerystringNo
FileDescriptionBetweenquerystring[]No
FileDescriptionInquerystring[]No
FileInDBquerybool?No
FileBinaryquerybyte[]No
RowHashquerybyte[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SY_File Parameters:
NameParameterData TypeRequiredDescription
FileIDformstringNo
LastSavedDateTimeformDateTimeNo
PhysicalFileNameformstringNo
FullPhysicalFileNameformstringNo
FileDescriptionformstringNo
FileInDBformboolNo
FileBinaryformbyte[]No
RowHashformbyte[]No
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.

POST /csv/reply/SY_FileQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"FileID":"String","FileIDStartsWith":"String","FileIDEndsWith":"String","FileIDContains":"String","FileIDLike":"String","FileIDBetween":["String"],"FileIDIn":["String"],"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"],"PhysicalFileName":"String","PhysicalFileNameStartsWith":"String","PhysicalFileNameEndsWith":"String","PhysicalFileNameContains":"String","PhysicalFileNameLike":"String","PhysicalFileNameBetween":["String"],"PhysicalFileNameIn":["String"],"FullPhysicalFileName":"String","FullPhysicalFileNameStartsWith":"String","FullPhysicalFileNameEndsWith":"String","FullPhysicalFileNameContains":"String","FullPhysicalFileNameLike":"String","FullPhysicalFileNameBetween":["String"],"FullPhysicalFileNameIn":["String"],"FileDescription":"String","FileDescriptionStartsWith":"String","FileDescriptionEndsWith":"String","FileDescriptionContains":"String","FileDescriptionLike":"String","FileDescriptionBetween":["String"],"FileDescriptionIn":["String"],"FileInDB":false,"FileBinary":"AA==","RowHash":"AA==","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":[{"FileID":"String","PhysicalFileName":"String","FullPhysicalFileName":"String","FileDescription":"String","FileBinary":"AA==","RowHash":"AA=="}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}