POST api/V3/Outlet/CreateUpdateOutletTags

Request Information

URI Parameters

None.

Body Parameters

Collection of OutletWithCustomTags
NameDescriptionTypeAdditional information
OutletErpId

Outlet ERP ID

string

None.

CustomTags

List of Custom Tags

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OutletErpId": "sample string 1",
    "CustomTags": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "OutletErpId": "sample string 1",
    "CustomTags": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfOutletWithCustomTags xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
  <OutletWithCustomTags>
    <CustomTags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CustomTags>
    <OutletErpId>sample string 1</OutletErpId>
  </OutletWithCustomTags>
  <OutletWithCustomTags>
    <CustomTags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CustomTags>
    <OutletErpId>sample string 1</OutletErpId>
  </OutletWithCustomTags>
</ArrayOfOutletWithCustomTags>

Response Information

Resource Description

Collection of OutletWithCustomTagsResponse
NameDescriptionTypeAdditional information
OutletErpId

Outlet ERP ID

string

None.

CustomTags

List of Custom Tags

Collection of string

None.

Success

Success or Failure

boolean

None.

StatusMessage

Status message for the request

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OutletErpId": "sample string 1",
    "CustomTags": [
      "sample string 1",
      "sample string 2"
    ],
    "Success": true,
    "StatusMessage": "sample string 3"
  },
  {
    "OutletErpId": "sample string 1",
    "CustomTags": [
      "sample string 1",
      "sample string 2"
    ],
    "Success": true,
    "StatusMessage": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOutletWithCustomTagsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
  <OutletWithCustomTagsResponse>
    <CustomTags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CustomTags>
    <OutletErpId>sample string 1</OutletErpId>
    <StatusMessage>sample string 3</StatusMessage>
    <Success>true</Success>
  </OutletWithCustomTagsResponse>
  <OutletWithCustomTagsResponse>
    <CustomTags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CustomTags>
    <OutletErpId>sample string 1</OutletErpId>
    <StatusMessage>sample string 3</StatusMessage>
    <Success>true</Success>
  </OutletWithCustomTagsResponse>
</ArrayOfOutletWithCustomTagsResponse>