POST api/WorkorderAssignee

Request Information

URI Parameters

None.

Body Parameters

WorkOrderAssigneeRequestModel
NameDescriptionTypeAdditional information
AutoServiceMasterID

integer

None.

SubmittedNUListItems

Collection of integer

None.

SubmittedUserListItems

Collection of integer

None.

AddedBy_LoggedinUser

integer

None.

AddedDate

string

None.

APIKey

string

None.

IHScheine_Code

string

None.

Send_Notification_Mail

boolean

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "autoServiceMasterID": 1,
  "submittedNUListItems": [
    1,
    2
  ],
  "submittedUserListItems": [
    1,
    2
  ],
  "addedBy_LoggedinUser": 2,
  "addedDate": "sample string 3",
  "apiKey": "sample string 4",
  "ihScheine_Code": "sample string 5",
  "send_Notification_Mail": true
}

application/xml, text/xml

Sample:
<WorkOrderAssigneeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel">
  <APIKey>sample string 4</APIKey>
  <AddedBy_LoggedinUser>2</AddedBy_LoggedinUser>
  <AddedDate>sample string 3</AddedDate>
  <AutoServiceMasterID>1</AutoServiceMasterID>
  <IHScheine_Code>sample string 5</IHScheine_Code>
  <Send_Notification_Mail>true</Send_Notification_Mail>
  <SubmittedNUListItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </SubmittedNUListItems>
  <SubmittedUserListItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </SubmittedUserListItems>
</WorkOrderAssigneeRequestModel>

multipart/form-data

Sample:
<WorkOrderAssigneeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><APIKey>sample string 4</APIKey><AddedBy_LoggedinUser>2</AddedBy_LoggedinUser><AddedDate>sample string 3</AddedDate><AutoServiceMasterID>1</AutoServiceMasterID><IHScheine_Code>sample string 5</IHScheine_Code><Send_Notification_Mail>true</Send_Notification_Mail><SubmittedNUListItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:long>1</d2p1:long><d2p1:long>2</d2p1:long></SubmittedNUListItems><SubmittedUserListItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:long>1</d2p1:long><d2p1:long>2</d2p1:long></SubmittedUserListItems></WorkOrderAssigneeRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional information
ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <Code>4</Code>
  <Message>sample string 2</Message>
  <ReturnID>1</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>5</TotalRecord>
</CommonResponseDataModel>

multipart/form-data

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>