POST api/LocationHierarchy/BulkCreate

Request Information

URI Parameters

None.

Body Parameters

Collection of LocationHierarchy
NameDescriptionTypeAdditional 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:33:45.0060173+00:00",
    "ModifiedBy": "sample string 11",
    "ModifiedTimestamp": "2024-11-21T08:33:45.0060173+00:00",
    "DataStateFlag": "sample string 12"
  },
  {
    "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:33:45.0060173+00:00",
    "ModifiedBy": "sample string 11",
    "ModifiedTimestamp": "2024-11-21T08:33:45.0060173+00:00",
    "DataStateFlag": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.LocationHirearchy">
  <LocationHierarchy>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:33:45.0060173Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:33:45.0060173Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1: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>
  <LocationHierarchy>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:33:45.0060173Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:33:45.0060173Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1: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>
</ArrayOfLocationHierarchy>

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>