POST api/WebOrder/InstallationInfo/Save?id={id}&hash={hash}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

hash

string

Required

Body Parameters

InstallationInfo
NameDescriptionTypeAdditional information
RequestedInstallationDate

date

None.

RequestedInstallationTime

string

None.

InstallType

InstallType

None.

AlternativeInstallationDate

date

None.

AlternativeInstallationTime

string

None.

BackupInstallationDate

date

None.

BackupInstallationTime

string

None.

SpecialInstructions

string

None.

NotifyEarlierAvailability

boolean

None.

Available

string

None.

ActivityDuration

string

None.

SelfInstallOption

string

None.

IsComplete

boolean

None.

HasErrors

boolean

None.

Errors

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "requestedInstallationDate": "2025-06-12T04:50:01.1131778-07:00",
  "requestedInstallationTime": "sample string 1",
  "installType": 0,
  "alternativeInstallationDate": "2025-06-12T04:50:01.1131778-07:00",
  "alternativeInstallationTime": "sample string 2",
  "backupInstallationDate": "2025-06-12T04:50:01.1131778-07:00",
  "backupInstallationTime": "sample string 3",
  "specialInstructions": "sample string 4",
  "notifyEarlierAvailability": true,
  "available": "sample string 5",
  "activityDuration": "sample string 6",
  "selfInstallOption": "sample string 7",
  "isComplete": true,
  "hasErrors": true,
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"requestedInstallationDate":"2025-06-12T04:50:01.1131778-07:00","requestedInstallationTime":"sample string 1","installType":0,"alternativeInstallationDate":"2025-06-12T04:50:01.1131778-07:00","alternativeInstallationTime":"sample string 2","backupInstallationDate":"2025-06-12T04:50:01.1131778-07:00","backupInstallationTime":"sample string 3","specialInstructions":"sample string 4","notifyEarlierAvailability":true,"available":"sample string 5","activityDuration":"sample string 6","selfInstallOption":"sample string 7","isComplete":true,"hasErrors":true,"errors":["sample string 1","sample string 2"]}

application/xml, text/xml

Sample:
<InstallationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartBusinessEntities">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <HasErrors>true</HasErrors>
  <IsComplete>true</IsComplete>
  <ActivityDuration>sample string 6</ActivityDuration>
  <AlternativeInstallationDate>2025-06-12T04:50:01.1131778-07:00</AlternativeInstallationDate>
  <AlternativeInstallationTime>sample string 2</AlternativeInstallationTime>
  <Available>sample string 5</Available>
  <BackupInstallationDate>2025-06-12T04:50:01.1131778-07:00</BackupInstallationDate>
  <BackupInstallationTime>sample string 3</BackupInstallationTime>
  <InstallType>Manual</InstallType>
  <NotifyEarlierAvailability>true</NotifyEarlierAvailability>
  <RequestedInstallationDate>2025-06-12T04:50:01.1131778-07:00</RequestedInstallationDate>
  <RequestedInstallationTime>sample string 1</RequestedInstallationTime>
  <SelfInstallOption>sample string 7</SelfInstallOption>
  <SpecialInstructions>sample string 4</SpecialInstructions>
</InstallationInfo>

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

Response Information

Resource Description

JsonResponseResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ContentEncoding

Encoding

None.

ContentType

string

None.

Data

Object

None.

JsonRequestBehavior

JsonRequestBehavior

None.

MaxJsonLength

integer

None.

RecursionLimit

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "contentEncoding": null,
  "contentType": "sample string 3",
  "data": {},
  "jsonRequestBehavior": 0,
  "maxJsonLength": 1,
  "recursionLimit": 1
}

text/html

Sample:
{"success":true,"message":"sample string 2","contentEncoding":null,"contentType":"sample string 3","data":{},"jsonRequestBehavior":0,"maxJsonLength":1,"recursionLimit":1}

application/xml, text/xml

Sample:
<JsonResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartUtilities">
  <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" />
  <ContentType xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</ContentType>
  <Data xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" />
  <JsonRequestBehavior xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">AllowGet</JsonRequestBehavior>
  <MaxJsonLength xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</MaxJsonLength>
  <RecursionLimit xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</RecursionLimit>
  <Message>sample string 2</Message>
  <Success>true</Success>
</JsonResponseResult>