POST api/AutoShipSchedule/Cancel

Request Information

URI Parameters

None.

Body Parameters

CancelAutoShipScheduleViewModel
NameDescriptionTypeAdditional information
RepDID

The representative in context.

string

Required

AutoshipScheduleID

Autoship Schedule to cancel

integer

Required

UserName

UserName to indicate which process is cancelling the profile

string

Required

Request Formats

application/xml, text/xml

Sample:
<CancelAutoShipScheduleViewModel>
  <RepDID>sample string 1</RepDID>
  <AutoshipScheduleID>2</AutoshipScheduleID>
  <UserName>sample string 3</UserName>
</CancelAutoShipScheduleViewModel>

application/json, text/json

Sample:
{
  "RepDID": "sample string 1",
  "AutoshipScheduleID": 2,
  "UserName": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.