PUT api/LocationNodes/BulkUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of LocationNodeCreateUpdateModelName | Description | Type | Additional 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:59:06.8164462+00:00", "ModifiedBy": "sample string 14", "ModifiedTimestamp": "2024-11-21T08:59:06.8164462+00:00", "DataStateFlag": "sample string 15" }, { "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:59:06.8164462+00:00", "ModifiedBy": "sample string 14", "ModifiedTimestamp": "2024-11-21T08:59:06.8164462+00:00", "DataStateFlag": "sample string 15" } ]
application/xml, text/xml
Sample:
<ArrayOfLocationNodeCreateUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.LocationStructure"> <LocationNodeCreateUpdateModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:59:06.8164462Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:59:06.8164462Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </LocationTypes> <Longitude>7.1</Longitude> <Name>sample string 5</Name> <Order>8</Order> <ParentId>3</ParentId> <Tags>sample string 9</Tags> <departments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </departments> </LocationNodeCreateUpdateModel> <LocationNodeCreateUpdateModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:59:06.8164462Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:59:06.8164462Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </LocationTypes> <Longitude>7.1</Longitude> <Name>sample string 5</Name> <Order>8</Order> <ParentId>3</ParentId> <Tags>sample string 9</Tags> <departments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </departments> </LocationNodeCreateUpdateModel> </ArrayOfLocationNodeCreateUpdateModel>
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>