PUT api/Userdef1/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CA_Cancellations
NameDescriptionTypeAdditional information
CancellationID

integer

None.

CancellationStatusID

integer

None.

CustomerNumber

string

None.

SystemID

integer

None.

AlarmAccountNumber

string

None.

EquipmentReturnDate

date

None.

UnitReturnedFlag

byte

None.

CancellationEffectiveDate

date

None.

RefundRequestedFlag

boolean

None.

CustomerInChargeBackDate

date

None.

CancelReason

string

None.

DateLoaded

date

None.

RecurringID

integer

None.

CentralStation

string

None.

CancelAtCentralStation

boolean

None.

SystemCancelled

boolean

None.

SystemNeedsReview

boolean

None.

SiteCancelled

boolean

None.

CustomerEndStatus

string

None.

CreditNeeded

boolean

None.

RefundNeeded

boolean

None.

DateCancelled

date

None.

OpenBalanceForSystem

decimal number

None.

OpenBalanceForCustomer

decimal number

None.

CancellationProcessDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CancellationID": 1,
  "CancellationStatusID": 2,
  "CustomerNumber": "sample string 3",
  "SystemID": 1,
  "AlarmAccountNumber": "sample string 4",
  "EquipmentReturnDate": "2018-09-24T07:16:04.5424285-04:00",
  "UnitReturnedFlag": 64,
  "CancellationEffectiveDate": "2018-09-24T07:16:04.5424285-04:00",
  "RefundRequestedFlag": true,
  "CustomerInChargeBackDate": "2018-09-24T07:16:04.5424285-04:00",
  "CancelReason": "sample string 5",
  "DateLoaded": "2018-09-24T07:16:04.5424285-04:00",
  "RecurringID": 1,
  "CentralStation": "sample string 6",
  "CancelAtCentralStation": true,
  "SystemCancelled": true,
  "SystemNeedsReview": true,
  "SiteCancelled": true,
  "CustomerEndStatus": "sample string 7",
  "CreditNeeded": true,
  "RefundNeeded": true,
  "DateCancelled": "2018-09-24T07:16:04.5424285-04:00",
  "OpenBalanceForSystem": 1.0,
  "OpenBalanceForCustomer": 1.0,
  "CancellationProcessDate": "2018-09-24T07:16:04.5424285-04:00"
}

application/xml, text/xml

Sample:
<CA_Cancellations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <AlarmAccountNumber>sample string 4</AlarmAccountNumber>
  <CancelAtCentralStation>true</CancelAtCentralStation>
  <CancelReason>sample string 5</CancelReason>
  <CancellationEffectiveDate>2018-09-24T07:16:04.5424285-04:00</CancellationEffectiveDate>
  <CancellationID>1</CancellationID>
  <CancellationProcessDate>2018-09-24T07:16:04.5424285-04:00</CancellationProcessDate>
  <CancellationStatusID>2</CancellationStatusID>
  <CentralStation>sample string 6</CentralStation>
  <CreditNeeded>true</CreditNeeded>
  <CustomerEndStatus>sample string 7</CustomerEndStatus>
  <CustomerInChargeBackDate>2018-09-24T07:16:04.5424285-04:00</CustomerInChargeBackDate>
  <CustomerNumber>sample string 3</CustomerNumber>
  <DateCancelled>2018-09-24T07:16:04.5424285-04:00</DateCancelled>
  <DateLoaded>2018-09-24T07:16:04.5424285-04:00</DateLoaded>
  <EquipmentReturnDate>2018-09-24T07:16:04.5424285-04:00</EquipmentReturnDate>
  <OpenBalanceForCustomer>1</OpenBalanceForCustomer>
  <OpenBalanceForSystem>1</OpenBalanceForSystem>
  <RecurringID>1</RecurringID>
  <RefundNeeded>true</RefundNeeded>
  <RefundRequestedFlag>true</RefundRequestedFlag>
  <SiteCancelled>true</SiteCancelled>
  <SystemCancelled>true</SystemCancelled>
  <SystemID>1</SystemID>
  <SystemNeedsReview>true</SystemNeedsReview>
  <UnitReturnedFlag>64</UnitReturnedFlag>
</CA_Cancellations>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.