POST api/store/{storeID}/complianceindicators/import

Import a list of compliance indicators to a store

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

Store to import indicators to

integer

Required

Body Parameters

List of compliance indicators to add

Collection of ComplianceIndicator
NameDescriptionTypeAdditional information
ID

string

String length: inclusive between 0 and 1

StoreID

integer

None.

Type

string

String length: inclusive between 0 and 64

Name

string

String length: inclusive between 0 and 255

TalkerRequired

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": "sample string 1",
    "storeID": 2,
    "type": "sample string 3",
    "name": "sample string 4",
    "talkerRequired": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfComplianceIndicator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
  <ComplianceIndicator>
    <ID>sample string 1</ID>
    <Name>sample string 4</Name>
    <StoreID>2</StoreID>
    <TalkerRequired>true</TalkerRequired>
    <Type>sample string 3</Type>
  </ComplianceIndicator>
  <ComplianceIndicator>
    <ID>sample string 1</ID>
    <Name>sample string 4</Name>
    <StoreID>2</StoreID>
    <TalkerRequired>true</TalkerRequired>
    <Type>sample string 3</Type>
  </ComplianceIndicator>
</ArrayOfComplianceIndicator>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.