POST api/Tasks/CreateTask
Request Information
URI Parameters
None.
Body Parameters
CreateTaskInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeId | integer |
None. |
|
| TimeZone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TypeId": 1,
"TimeZone": "sample string 2"
}
application/xml, text/xml
Sample:
<CreateTaskInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <TimeZone>sample string 2</TimeZone> <TypeId>1</TypeId> </CreateTaskInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"TypeId":1,"TimeZone":"sample string 2"}
Response Information
Resource Description
IFSResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {},
"Error": "sample string 4"
}
application/xml, text/xml
Sample:
<IFSResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.Common"> <Data /> <Error>sample string 4</Error> <Message>sample string 2</Message> <Success>true</Success> </IFSResponseModel>
text/html
Sample:
{"Success":true,"Message":"sample string 2","Data":{},"Error":"sample string 4"}