POST api/Tasks/DefaultTaskTempate

Request Information

URI Parameters

None.

Body Parameters

DefaultTaskTemplateRequestModel
NameDescriptionTypeAdditional information
TenantId

integer

None.

UserId

string

None.

QuoteId

integer

None.

ContactId

integer

None.

CompanyId

integer

None.

WRId

string

None.

PackageId

string

None.

TasktemplateId

integer

None.

selectedServices

Collection of integer

None.

IFSAPIURL

string

None.

AuthToken

string

None.

TimeZoneId

string

None.

UTCOffSet

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "UserId": "sample string 2",
  "QuoteId": 1,
  "ContactId": 1,
  "CompanyId": 1,
  "WRId": "sample string 3",
  "PackageId": "sample string 4",
  "TasktemplateId": 1,
  "selectedServices": [
    1,
    2
  ],
  "IFSAPIURL": "sample string 5",
  "AuthToken": "sample string 6",
  "TimeZoneId": "sample string 7",
  "UTCOffSet": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<DefaultTaskTemplateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <AuthToken>sample string 6</AuthToken>
  <CompanyId>1</CompanyId>
  <ContactId>1</ContactId>
  <IFSAPIURL>sample string 5</IFSAPIURL>
  <PackageId>sample string 4</PackageId>
  <QuoteId>1</QuoteId>
  <TasktemplateId>1</TasktemplateId>
  <TenantId>1</TenantId>
  <TimeZoneId>sample string 7</TimeZoneId>
  <UTCOffSet>PT0.1234567S</UTCOffSet>
  <UserId>sample string 2</UserId>
  <WRId>sample string 3</WRId>
  <selectedServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </selectedServices>
</DefaultTaskTemplateRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"TenantId":1,"UserId":"sample string 2","QuoteId":1,"ContactId":1,"CompanyId":1,"WRId":"sample string 3","PackageId":"sample string 4","TasktemplateId":1,"selectedServices":[1,2],"IFSAPIURL":"sample string 5","AuthToken":"sample string 6","TimeZoneId":"sample string 7","UTCOffSet":"00:00:00.1234567"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.