POST api/Orders/PatientApproval/{orderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

globally unique identifier

Required

Body Parameters

PatientBillingModel
NameDescriptionTypeAdditional information
orderId

globally unique identifier

Required

patientApproved

boolean

None.

patientPaymentTerms

PatientPaymentTerms

None.

patientAppCadexAssist

boolean

None.

patientCadexAssistAmt

decimal number

None.

patientAnnualIncome

decimal number

None.

patientState

string

Max length: 2

patientFamilySize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": "eea91576-9231-491f-bd2e-011abdfc58fd",
  "patientApproved": true,
  "patientPaymentTerms": 0,
  "patientAppCadexAssist": true,
  "patientCadexAssistAmt": 4.0,
  "patientAnnualIncome": 5.0,
  "patientState": "sample string 6",
  "patientFamilySize": 7
}

application/xml, text/xml

Sample:
<PatientBillingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <orderId>eea91576-9231-491f-bd2e-011abdfc58fd</orderId>
  <patientAnnualIncome>5</patientAnnualIncome>
  <patientAppCadexAssist>true</patientAppCadexAssist>
  <patientApproved>true</patientApproved>
  <patientCadexAssistAmt>4</patientCadexAssistAmt>
  <patientFamilySize>7</patientFamilySize>
  <patientPaymentTerms>PayNow</patientPaymentTerms>
  <patientState>sample string 6</patientState>
</PatientBillingModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.