Viviot.Api

<back to all web services

ReportTaskListIssue

Requires Authentication
The following routes are available for this service:
POST/mobileb/tasklist/issueReports an issue in relation to a tasklist.
ReportTaskListIssue Parameters:
NameParameterData TypeRequiredDescription
IssueDescriptionbodystringYesA description of the issue.
IssueTypebodyIssueTypeYesThe type of the issue.

Allowable Values

  • DamagedItem
  • SpilledLiquid
  • MissingItem
CommonBaseTaskList Parameters:
NameParameterData TypeRequiredDescription
TaskListIdformstringYesTaskList ID
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
VersionformintegerNoApi version
IssueType Enum:
NameValue
DamagedItem10
SpilledLiquid20
MissingItem30
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
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 /mobileb/tasklist/issue HTTP/1.1 
Host: api.4spaces.io 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'ReportTaskListIssue' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'BaseResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)