PUT api/LocationNodes

Request Information

URI Parameters

None.

Body Parameters

LocationNodeCreateUpdateModel
NameDescriptionTypeAdditional information
LocationTypes

Collection of integer

None.

departments

Collection of integer

None.

AccountId

integer

None.

BaseId

integer

None.

ParentId

integer

None.

HierarchyId

integer

None.

Name

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Order

integer

None.

Tags

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationTypes": [
    1,
    2
  ],
  "departments": [
    1,
    2
  ],
  "AccountId": 1,
  "BaseId": 2,
  "ParentId": 3,
  "HierarchyId": 4,
  "Name": "sample string 5",
  "Latitude": 6.1,
  "Longitude": 7.1,
  "Order": 8,
  "Tags": "sample string 9",
  "Id": 10,
  "Status": "sample string 11",
  "CreatedBy": "sample string 12",
  "CreateTimestamp": "2024-11-21T08:58:28.4464111+00:00",
  "ModifiedBy": "sample string 14",
  "ModifiedTimestamp": "2024-11-21T08:58:28.4464111+00:00",
  "DataStateFlag": "sample string 15"
}

application/xml, text/xml

Sample:
<LocationNodeCreateUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.LocationStructure">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:58:28.4464111Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 15</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">10</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 14</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:58:28.4464111Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</Status>
  <AccountId>1</AccountId>
  <BaseId>2</BaseId>
  <HierarchyId>4</HierarchyId>
  <Latitude>6.1</Latitude>
  <LocationTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LocationTypes>
  <Longitude>7.1</Longitude>
  <Name>sample string 5</Name>
  <Order>8</Order>
  <ParentId>3</ParentId>
  <Tags>sample string 9</Tags>
  <departments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </departments>
</LocationNodeCreateUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>