TeleportService

<back to all web services

TaskAdd

Requires Authentication
The following routes are available for this service:
POST/TaskAdd
TaskAdd Parameters:
NameParameterData TypeRequiredDescription
ReceiverbodystringNo
TypebodyTeleportTaskTypesNo
BodybodystringNo
TeleportTaskTypes Enum:
Notify
Report
PrintForm
TaskAddResponse Parameters:
NameParameterData TypeRequiredDescription
TaskIdformstringNo
ResponseStatusformResponseStatusNo
errCodeformintNo

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 /TaskAdd HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Receiver":"String","Type":"Notify","Body":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"TaskId":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"errCode":0}