GET | /Distribution/MobileVisits/{VisitId}/Files |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
VisitId | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<MobileVisitFile> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FileId | form | Guid | No | |
VisitId | form | int | No | |
FileType | form | int | No | |
Filename | form | string | No | |
Extension | form | string | No | |
MediaType | form | string | No | |
Path | form | string | No | |
Note | form | string | No | |
Checksum | form | string | No | |
Meta | form | Dictionary<string, string> | No | |
CreateTime | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Distribution/MobileVisits/{VisitId}/Files HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: [ { FileId: 00000000000000000000000000000000, VisitId: 0, FileType: 0, Filename: String, Extension: String, MediaType: String, Path: String, Note: String, Checksum: String, Meta: { String: String }, CreateTime: 0001-01-01 } ] }