PUT api/ConfigurationData/Location

Request Information

URI Parameters

None.

Body Parameters

LocationModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

LocationName

string

Required

Building

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

StateResponse

None.

PostCode

string

None.

Telephone

string

None.

URFormat

string

None.

Country

CountryResponse

None.

StartAM

time interval

None.

StartPM

time interval

None.

StartEvening

time interval

None.

InHospital

boolean

None.

TOEEquipmentAged

boolean

None.

SettingHospitaliRORA

boolean

None.

SettingHospitalwebAIRS

boolean

None.

Sublocation

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 1",
  "LocationName": "sample string 2",
  "Building": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "State": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "StateName": "sample string 2"
  },
  "PostCode": "sample string 7",
  "Telephone": "sample string 8",
  "URFormat": "sample string 9",
  "Country": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "CountryName": "sample string 2"
  },
  "StartAM": "00:00:00.1234567",
  "StartPM": "00:00:00.1234567",
  "StartEvening": "00:00:00.1234567",
  "InHospital": true,
  "TOEEquipmentAged": true,
  "SettingHospitaliRORA": true,
  "SettingHospitalwebAIRS": true,
  "Sublocation": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<LocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anaessist.Models.RequestModel">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <Building>sample string 3</Building>
  <City>sample string 6</City>
  <Code>sample string 1</Code>
  <Country xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models">
    <d2p1:CountryCode>sample string 1</d2p1:CountryCode>
    <d2p1:CountryName>sample string 2</d2p1:CountryName>
    <d2p1:Id>1</d2p1:Id>
  </Country>
  <Id>1</Id>
  <InHospital>true</InHospital>
  <LocationName>sample string 2</LocationName>
  <PostCode>sample string 7</PostCode>
  <SettingHospitaliRORA>true</SettingHospitaliRORA>
  <SettingHospitalwebAIRS>true</SettingHospitalwebAIRS>
  <StartAM>PT0.1234567S</StartAM>
  <StartEvening>PT0.1234567S</StartEvening>
  <StartPM>PT0.1234567S</StartPM>
  <State xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models">
    <d2p1:CountryCode>sample string 1</d2p1:CountryCode>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:StateName>sample string 2</d2p1:StateName>
  </State>
  <Sublocation xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Sublocation>
  <TOEEquipmentAged>true</TOEEquipmentAged>
  <Telephone>sample string 8</Telephone>
  <URFormat>sample string 9</URFormat>
</LocationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.