POST api/mobile/DeleteScheduleItem

Request Information

URI Parameters

None.

Body Parameters

ScheduleItemRequestModel
NameDescriptionTypeAdditional information
M2M_DescriptorID

integer

None.

ParameterNum

integer

None.

DayOfWeek

integer

None.

Value

integer

None.

ScheduledTime

integer

None.

ScheduledTimeNew

integer

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "M2M_DescriptorID": 1,
  "ParameterNum": 2,
  "DayOfWeek": 3,
  "Value": 4,
  "ScheduledTime": 5,
  "ScheduledTimeNew": 6,
  "Token": "sample string 7"
}

application/xml, text/xml

Sample:
<ScheduleItemRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.RequestModels">
  <Token>sample string 7</Token>
  <DayOfWeek>3</DayOfWeek>
  <M2M_DescriptorID>1</M2M_DescriptorID>
  <ParameterNum>2</ParameterNum>
  <ScheduledTime>5</ScheduledTime>
  <ScheduledTimeNew>6</ScheduledTimeNew>
  <Value>4</Value>
</ScheduleItemRequestModel>

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 'ScheduleItemRequestModel'.

Response Information

Resource Description

BaseResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.ResponseModels">
  <Message>sample string 2</Message>
  <Success>true</Success>
</BaseResponseModel>