PUT api/Orders/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

OrderDetailsEditViewModel
NameDescriptionTypeAdditional information
orderId

globally unique identifier

Required

organizationId

globally unique identifier

Required

orderingPhysicianId

globally unique identifier

Required

accessionNo

string

Max length: 15

productId

globally unique identifier

Required

clinicalStudyId

globally unique identifier

None.

patientId

globally unique identifier

Required

icd10Code

globally unique identifier

Required

paymentType

PaymentType

Required

PriorAuthNo

string

None.

therapiesUsed

string

Max length: 255

dateOfTherapyAdmin

date

Required

Request Formats

application/json, text/json

Sample:
{
  "orderId": "638eaea9-aca0-4888-9e31-6fbddfaa18d2",
  "organizationId": "44b83b2a-ce10-4d07-9f8f-318c795870aa",
  "orderingPhysicianId": "395824d5-e652-4ea8-bd02-61b6f14e92b1",
  "accessionNo": "sample string 3",
  "productId": "80cbe2a8-a6fb-435f-a1a9-e87cb76f68fa",
  "clinicalStudyId": "f5c8737a-e3ec-4bef-a717-16f2bc0e4fb9",
  "patientId": "df06d83e-ebf7-49a6-b63a-2fb6288235e2",
  "icd10Code": "b89ab694-8eb7-4843-81f2-07b2d016099f",
  "paymentType": 0,
  "PriorAuthNo": "sample string 7",
  "therapiesUsed": "sample string 8",
  "dateOfTherapyAdmin": "2021-02-25T22:11:45.6264509-08:00"
}

application/xml, text/xml

Sample:
<OrderDetailsEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <PriorAuthNo>sample string 7</PriorAuthNo>
  <accessionNo>sample string 3</accessionNo>
  <clinicalStudyId>f5c8737a-e3ec-4bef-a717-16f2bc0e4fb9</clinicalStudyId>
  <dateOfTherapyAdmin>2021-02-25T22:11:45.6264509-08:00</dateOfTherapyAdmin>
  <icd10Code>b89ab694-8eb7-4843-81f2-07b2d016099f</icd10Code>
  <orderId>638eaea9-aca0-4888-9e31-6fbddfaa18d2</orderId>
  <orderingPhysicianId>395824d5-e652-4ea8-bd02-61b6f14e92b1</orderingPhysicianId>
  <organizationId>44b83b2a-ce10-4d07-9f8f-318c795870aa</organizationId>
  <patientId>df06d83e-ebf7-49a6-b63a-2fb6288235e2</patientId>
  <paymentType>Insurance</paymentType>
  <productId>80cbe2a8-a6fb-435f-a1a9-e87cb76f68fa</productId>
  <therapiesUsed>sample string 8</therapiesUsed>
</OrderDetailsEditViewModel>

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

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.