POST api/Remove

Request Information

URI Parameters

None.

Body Parameters

Collection of RemoveGTINRequest
NameDescriptionTypeAdditional information
AccountId

integer

None.

GTIN

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AccountId": 1,
    "GTIN": "sample string 2"
  },
  {
    "AccountId": 1,
    "GTIN": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRemoveGTINRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS1Mx.Verified.Models.Requests">
  <RemoveGTINRequest>
    <AccountId>1</AccountId>
    <GTIN>sample string 2</GTIN>
  </RemoveGTINRequest>
  <RemoveGTINRequest>
    <AccountId>1</AccountId>
    <GTIN>sample string 2</GTIN>
  </RemoveGTINRequest>
</ArrayOfRemoveGTINRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RegistryGtinResponse
NameDescriptionTypeAdditional information
lstGtinResponses

Collection of GtinResponses

None.

errorMessage

string

None.

batchId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "lstGtinResponses": [
    {
      "Gtin": "sample string 1",
      "Code": 2,
      "ResultMessage": "sample string 3",
      "FullAttributes": true
    },
    {
      "Gtin": "sample string 1",
      "Code": 2,
      "ResultMessage": "sample string 3",
      "FullAttributes": true
    }
  ],
  "errorMessage": "sample string 1",
  "batchId": "sample string 2"
}

application/xml, text/xml

Sample:
<RegistryGtinResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS1Mx.Verified.Models.Responses">
  <batchId>sample string 2</batchId>
  <errorMessage>sample string 1</errorMessage>
  <lstGtinResponses>
    <GtinResponses>
      <Code>2</Code>
      <FullAttributes>true</FullAttributes>
      <Gtin>sample string 1</Gtin>
      <ResultMessage>sample string 3</ResultMessage>
    </GtinResponses>
    <GtinResponses>
      <Code>2</Code>
      <FullAttributes>true</FullAttributes>
      <Gtin>sample string 1</Gtin>
      <ResultMessage>sample string 3</ResultMessage>
    </GtinResponses>
  </lstGtinResponses>
</RegistryGtinResponse>