POST CancelServiceOrder

Request Information

URI Parameters

None.

Body Parameters

Services
NameDescriptionTypeAdditional information
ID

integer

None.

OrderID

integer

None.

ServiceID

integer

None.

ServiceName

string

None.

CategoryID

integer

None.

Description

string

None.

ServiceHistoryLst

Collection of ServiceHistory

None.

HoursDifferenc

integer

None.

Status

integer

None.

CUSTID

integer

None.

Reason

string

None.

Iscancel

string

None.

Field

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OrderID": 2,
  "ServiceID": 3,
  "ServiceName": "sample string 4",
  "CategoryID": 5,
  "Description": "sample string 6",
  "ServiceHistoryLst": [
    {
      "ID": 1,
      "Status": "sample string 2",
      "StatusDesc": "sample string 3"
    },
    {
      "ID": 1,
      "Status": "sample string 2",
      "StatusDesc": "sample string 3"
    }
  ],
  "HoursDifferenc": 7,
  "Status": 8,
  "CUSTID": 9,
  "Reason": "sample string 10",
  "Iscancel": "sample string 11",
  "Field": "sample string 12"
}

application/xml, text/xml

Sample:
<ClsMaster.Services xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SafeBazar_CustomerAPI.Models">
  <CUSTID>9</CUSTID>
  <CategoryID>5</CategoryID>
  <Description>sample string 6</Description>
  <Field>sample string 12</Field>
  <HoursDifferenc>7</HoursDifferenc>
  <ID>1</ID>
  <Iscancel>sample string 11</Iscancel>
  <OrderID>2</OrderID>
  <Reason>sample string 10</Reason>
  <ServiceHistoryLst>
    <ClsMaster.ServiceHistory>
      <ID>1</ID>
      <Status>sample string 2</Status>
      <StatusDesc>sample string 3</StatusDesc>
    </ClsMaster.ServiceHistory>
    <ClsMaster.ServiceHistory>
      <ID>1</ID>
      <Status>sample string 2</Status>
      <StatusDesc>sample string 3</StatusDesc>
    </ClsMaster.ServiceHistory>
  </ServiceHistoryLst>
  <ServiceID>3</ServiceID>
  <ServiceName>sample string 4</ServiceName>
  <Status>8</Status>
</ClsMaster.Services>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.