POST api/V3/Outlet/CreateUpdateBeatsHierarchyViaName
This API is used to create or update Beats with Geographical Hierarchy via name
Request Information
URI Parameters
None.
Body Parameters
Collection of BeatWithHierarchyV2Name | Description | Type | Additional information |
---|---|---|---|
TerritoryErpId |
ErpId of Territory |
string |
None. |
RegionErpId |
ErpId of Region |
string |
None. |
ZoneErpId |
ErpId of Zone |
string |
None. |
GeoLevel5 |
Geography Level 5 |
string |
None. |
GeoLevel5ErpId |
ErpId of Geography Level 5 |
string |
None. |
GeoLevel6 |
Geography Level 6 |
string |
None. |
GeoLevel6ErpId |
ErpId of Geography Level 6 |
string |
None. |
GeoLevel7 |
Geography Level 7 |
string |
None. |
GeoLevel7ErpId |
ErpId of Geography Level 7 |
string |
None. |
Beat |
Beat Name |
string |
Required String length: inclusive between 3 and 100 |
BeatErpId |
Erp Id of Beat |
string |
String length: inclusive between 0 and 100 |
Territory |
Territory to be assigened to Beat |
string |
Required String length: inclusive between 1 and 200 |
Region |
Region to be assigned to Territory |
string |
Required String length: inclusive between 1 and 200 |
Zone |
Zone to be assigened to Territory of Beat |
string |
Required String length: inclusive between 1 and 100 |
BeatGrade |
Possible Values - 1. Urban 2 SemiUrban 3. Metro 4. NonMetro 5. Rural |
BeatGrade |
Not Mandatory |
Beat_AttributeText1 |
Additional Attribute of Beat |
string |
Not Mandatory String length: inclusive between 0 and 50 |
Beat_AttributeText2 |
Additional Attribute of Beat |
string |
Not Mandatory String length: inclusive between 0 and 50 |
Beat_AttributeText3 |
Additional Attribute of Beat |
string |
Not Mandatory String length: inclusive between 0 and 50 |
Beat_AttributeText4 |
Additional Attribute of Beat |
string |
Not Mandatory String length: inclusive between 0 and 50 |
Beat_AttributeBoolean1 |
Additional Attribute of Beat |
boolean |
None. |
Beat_AttributeBoolean2 |
Additional Attribute of Beat |
boolean |
None. |
Beat_AttributeNumber1 |
Additional Attribute of Beat |
decimal number |
Not Mandatory Range: inclusive between -1E+50 and 1E+50 |
Beat_AttributeNumber2 |
Additional Attribute of Beat |
decimal number |
Not Mandatory Range: inclusive between -1E+50 and 1E+50 |
Beat_AttributeNumber3 |
Additional Attribute of Beat |
decimal number |
Not Mandatory Range: inclusive between -1E+50 and 1E+50 |
Beat_AttributeNumber4 |
Additional Attribute of Beat |
decimal number |
Not Mandatory Range: inclusive between -1E+50 and 1E+50 |
Request Formats
application/json, text/json
[ { "TerritoryErpId": "sample string 1", "RegionErpId": "sample string 2", "ZoneErpId": "sample string 3", "GeoLevel5": "sample string 4", "GeoLevel5ErpId": "sample string 5", "GeoLevel6": "sample string 6", "GeoLevel6ErpId": "sample string 7", "GeoLevel7": "sample string 8", "GeoLevel7ErpId": "sample string 9", "Beat": "sample string 10", "BeatErpId": "sample string 11", "Territory": "sample string 12", "Region": "sample string 13", "Zone": "sample string 14", "BeatGrade": "None", "Beat_AttributeText1": "sample string 15", "Beat_AttributeText2": "sample string 16", "Beat_AttributeText3": "sample string 17", "Beat_AttributeText4": "sample string 18", "Beat_AttributeBoolean1": true, "Beat_AttributeBoolean2": true, "Beat_AttributeNumber1": 1.1, "Beat_AttributeNumber2": 1.1, "Beat_AttributeNumber3": 1.1, "Beat_AttributeNumber4": 1.1 }, { "TerritoryErpId": "sample string 1", "RegionErpId": "sample string 2", "ZoneErpId": "sample string 3", "GeoLevel5": "sample string 4", "GeoLevel5ErpId": "sample string 5", "GeoLevel6": "sample string 6", "GeoLevel6ErpId": "sample string 7", "GeoLevel7": "sample string 8", "GeoLevel7ErpId": "sample string 9", "Beat": "sample string 10", "BeatErpId": "sample string 11", "Territory": "sample string 12", "Region": "sample string 13", "Zone": "sample string 14", "BeatGrade": "None", "Beat_AttributeText1": "sample string 15", "Beat_AttributeText2": "sample string 16", "Beat_AttributeText3": "sample string 17", "Beat_AttributeText4": "sample string 18", "Beat_AttributeBoolean1": true, "Beat_AttributeBoolean2": true, "Beat_AttributeNumber1": 1.1, "Beat_AttributeNumber2": 1.1, "Beat_AttributeNumber3": 1.1, "Beat_AttributeNumber4": 1.1 } ]
application/xml, text/xml
<ArrayOfBeatWithHierarchyV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <BeatWithHierarchyV2> <Beat>sample string 10</Beat> <BeatErpId>sample string 11</BeatErpId> <BeatGrade>None</BeatGrade> <Beat_AttributeBoolean1>true</Beat_AttributeBoolean1> <Beat_AttributeBoolean2>true</Beat_AttributeBoolean2> <Beat_AttributeNumber1>1.1</Beat_AttributeNumber1> <Beat_AttributeNumber2>1.1</Beat_AttributeNumber2> <Beat_AttributeNumber3>1.1</Beat_AttributeNumber3> <Beat_AttributeNumber4>1.1</Beat_AttributeNumber4> <Beat_AttributeText1>sample string 15</Beat_AttributeText1> <Beat_AttributeText2>sample string 16</Beat_AttributeText2> <Beat_AttributeText3>sample string 17</Beat_AttributeText3> <Beat_AttributeText4>sample string 18</Beat_AttributeText4> <Region>sample string 13</Region> <Territory>sample string 12</Territory> <Zone>sample string 14</Zone> <GeoLevel5>sample string 4</GeoLevel5> <GeoLevel5ErpId>sample string 5</GeoLevel5ErpId> <GeoLevel6>sample string 6</GeoLevel6> <GeoLevel6ErpId>sample string 7</GeoLevel6ErpId> <GeoLevel7>sample string 8</GeoLevel7> <GeoLevel7ErpId>sample string 9</GeoLevel7ErpId> <RegionErpId>sample string 2</RegionErpId> <TerritoryErpId>sample string 1</TerritoryErpId> <ZoneErpId>sample string 3</ZoneErpId> </BeatWithHierarchyV2> <BeatWithHierarchyV2> <Beat>sample string 10</Beat> <BeatErpId>sample string 11</BeatErpId> <BeatGrade>None</BeatGrade> <Beat_AttributeBoolean1>true</Beat_AttributeBoolean1> <Beat_AttributeBoolean2>true</Beat_AttributeBoolean2> <Beat_AttributeNumber1>1.1</Beat_AttributeNumber1> <Beat_AttributeNumber2>1.1</Beat_AttributeNumber2> <Beat_AttributeNumber3>1.1</Beat_AttributeNumber3> <Beat_AttributeNumber4>1.1</Beat_AttributeNumber4> <Beat_AttributeText1>sample string 15</Beat_AttributeText1> <Beat_AttributeText2>sample string 16</Beat_AttributeText2> <Beat_AttributeText3>sample string 17</Beat_AttributeText3> <Beat_AttributeText4>sample string 18</Beat_AttributeText4> <Region>sample string 13</Region> <Territory>sample string 12</Territory> <Zone>sample string 14</Zone> <GeoLevel5>sample string 4</GeoLevel5> <GeoLevel5ErpId>sample string 5</GeoLevel5ErpId> <GeoLevel6>sample string 6</GeoLevel6> <GeoLevel6ErpId>sample string 7</GeoLevel6ErpId> <GeoLevel7>sample string 8</GeoLevel7> <GeoLevel7ErpId>sample string 9</GeoLevel7ErpId> <RegionErpId>sample string 2</RegionErpId> <TerritoryErpId>sample string 1</TerritoryErpId> <ZoneErpId>sample string 3</ZoneErpId> </BeatWithHierarchyV2> </ArrayOfBeatWithHierarchyV2>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.