POST api/Admin/ReassignNewEstimator

Request Information

URI Parameters

None.

Body Parameters

ReassignAppointmentsData
NameDescriptionTypeAdditional information
Type

integer

None.

EmployeeID

integer

None.

StoreID

integer

None.

AppointmentID

integer

None.

CustomerID

integer

None.

CustomerName

string

None.

PropertyAddress

string

None.

EmailAddress

string

None.

ADate

string

None.

Phone

Collection of string

None.

QuotesCount

integer

None.

OrderCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "EmployeeID": 2,
  "StoreID": 3,
  "AppointmentID": 4,
  "CustomerID": 5,
  "CustomerName": "sample string 6",
  "PropertyAddress": "sample string 7",
  "EmailAddress": "sample string 8",
  "ADate": "sample string 9",
  "Phone": [
    "sample string 1",
    "sample string 2"
  ],
  "QuotesCount": 10,
  "OrderCount": 11
}

multipart/form-data, text/plain

Sample:
{"Type":1,"EmployeeID":2,"StoreID":3,"AppointmentID":4,"CustomerID":5,"CustomerName":"sample string 6","PropertyAddress":"sample string 7","EmailAddress":"sample string 8","ADate":"sample string 9","Phone":["sample string 1","sample string 2"],"QuotesCount":10,"OrderCount":11}

application/xml, text/xml

Sample:
<FO_API_Utilities_GLOBAL_Class.ReassignAppointmentsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FO_API_Utilities">
  <ADate>sample string 9</ADate>
  <AppointmentID>4</AppointmentID>
  <CustomerID>5</CustomerID>
  <CustomerName>sample string 6</CustomerName>
  <EmailAddress>sample string 8</EmailAddress>
  <EmployeeID>2</EmployeeID>
  <OrderCount>11</OrderCount>
  <Phone xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Phone>
  <PropertyAddress>sample string 7</PropertyAddress>
  <QuotesCount>10</QuotesCount>
  <StoreID>3</StoreID>
  <Type>1</Type>
</FO_API_Utilities_GLOBAL_Class.ReassignAppointmentsData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReassignAppointmentsData'.

Response Information

Resource Description

MainClass
NameDescriptionTypeAdditional information
Status_Code

integer

None.

Data

Object

None.

Status_Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_Code": 1,
  "Data": {},
  "Status_Message": "sample string 3"
}

multipart/form-data, text/plain

Sample:
{"Status_Code":1,"Data":{},"Status_Message":"sample string 3"}

application/xml, text/xml

Sample:
<FO_API_Utilities_GLOBAL_Class.MainClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FO_API_Utilities">
  <Data />
  <Status_Code>1</Status_Code>
  <Status_Message>sample string 3</Status_Message>
</FO_API_Utilities_GLOBAL_Class.MainClass>