PUT api/LocationHierarchy
Request Information
URI Parameters
None.
Body Parameters
LocationHierarchyName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
BaseId | integer |
None. |
|
ParentId | integer |
None. |
|
Order | integer |
None. |
|
AccountId | integer |
None. |
|
GlobalLocationHierarchyId | integer |
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:
{ "Name": "sample string 1", "BaseId": 2, "ParentId": 3, "Order": 4, "AccountId": 5, "GlobalLocationHierarchyId": 6, "Id": 7, "Status": "sample string 8", "CreatedBy": "sample string 9", "CreateTimestamp": "2024-11-21T08:58:20.4711783+00:00", "ModifiedBy": "sample string 11", "ModifiedTimestamp": "2024-11-21T08:58:20.4711783+00:00", "DataStateFlag": "sample string 12" }
application/xml, text/xml
Sample:
<LocationHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.LocationHirearchy"> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:58:20.4711783Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 12</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">7</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 11</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:58:20.4711783Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</Status> <AccountId>5</AccountId> <BaseId>2</BaseId> <GlobalLocationHierarchyId>6</GlobalLocationHierarchyId> <Name>sample string 1</Name> <Order>4</Order> <ParentId>3</ParentId> </LocationHierarchy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>