PUT sites/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Site
NameDescriptionTypeAdditional information
externalReference

string

String length: inclusive between 0 and 255

state

string

String length: inclusive between 0 and 255

mergedIntoSiteAmforiId

string

String length: inclusive between 0 and 255

zeroTolerance

boolean

None.

memberInternalReference

string

String length: inclusive between 0 and 255

AdditionalProperties

Dictionary of string [key] and Object [value]

None.

siteAmforiId

string

Required

Matching regular expression pattern: ^[0-9]{3}-[0-9]{6}-[0-9]{3}$

String length: inclusive between 0 and 14

companyAmforiId

string

Required

Matching regular expression pattern: ^[0-9]{3}-[0-9]{6}-000$

String length: inclusive between 0 and 14

name

string

Required

String length: inclusive between 0 and 100

localName

string

String length: inclusive between 0 and 100

address

Address

Required

contactDetails

ContactDetails

None.

inWaterStressedRegion

boolean

None.

gicsActivityClassification

GicsActivityClassification

Required

productProcessClassifications

Collection of ProductProcessClassification

None.

gs1ProductClassifications

Collection of Gs1ProductClassification

None.

amforiProcessClassifications

Collection of AmforiProcessClassification

None.

NACEClassification

NACEClassification

None.

Request Formats

application/json, text/json

Sample:
{
  "externalReference": "sample string 1",
  "state": "sample string 2",
  "mergedIntoSiteAmforiId": "sample string 3",
  "zeroTolerance": true,
  "memberInternalReference": "sample string 5",
  "siteAmforiId": "sample string 6",
  "companyAmforiId": "sample string 7",
  "name": "sample string 8",
  "localName": "sample string 9",
  "address": {
    "street": "sample string 1",
    "zip": "sample string 2",
    "city": "sample string 3",
    "stateProvince": {
      "code": "sample string 1",
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    "country": "sample string 4",
    "sample string 1": {},
    "sample string 3": {}
  },
  "contactDetails": {
    "emailAddress": "sample string 1",
    "phoneNumber": "sample string 2",
    "faxNumber": "sample string 3",
    "website": "sample string 4",
    "sample string 1": {},
    "sample string 3": {}
  },
  "inWaterStressedRegion": true,
  "gicsActivityClassification": {
    "description": "sample string 1",
    "sector": {
      "code": 1,
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    "industryGroup": {
      "code": 1,
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    "industry": {
      "code": 1,
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    "subIndustry": {
      "code": 1,
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    "sample string 1": {},
    "sample string 3": {}
  },
  "productProcessClassifications": [
    {
      "process": {
        "code": 1,
        "name": "sample string 2",
        "sample string 1": {},
        "sample string 3": {}
      },
      "category": {
        "code": 1,
        "name": "sample string 2",
        "sample string 1": {},
        "sample string 3": {}
      },
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "process": {
        "code": 1,
        "name": "sample string 2",
        "sample string 1": {},
        "sample string 3": {}
      },
      "category": {
        "code": 1,
        "name": "sample string 2",
        "sample string 1": {},
        "sample string 3": {}
      },
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "gs1ProductClassifications": [
    {
      "segment": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "family": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "productClass": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "segment": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "family": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "productClass": {
        "code": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "sample string 1": {},
        "sample string 3": {}
      },
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "amforiProcessClassifications": [
    {
      "code": "sample string 1",
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "code": "sample string 1",
      "name": "sample string 2",
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "naceClassification": {
    "code": "sample string 1",
    "name": "sample string 2",
    "sample string 1": {},
    "sample string 3": {}
  },
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<Site xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroAG.SSM.Amfori.Client">
  <AdditionalProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <Address>
    <AdditionalProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </AdditionalProperties>
    <City>sample string 3</City>
    <Country>sample string 4</Country>
    <StateProvince>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>sample string 1</Code>
      <Name>sample string 2</Name>
    </StateProvince>
    <Street>sample string 1</Street>
    <Zip>sample string 2</Zip>
  </Address>
  <AmforiProcessClassifications>
    <AmforiProcessClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>sample string 1</Code>
      <Name>sample string 2</Name>
    </AmforiProcessClassification>
    <AmforiProcessClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>sample string 1</Code>
      <Name>sample string 2</Name>
    </AmforiProcessClassification>
  </AmforiProcessClassifications>
  <CompanyAmforiId>sample string 7</CompanyAmforiId>
  <ContactDetails>
    <AdditionalProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </AdditionalProperties>
    <EmailAddress>sample string 1</EmailAddress>
    <FaxNumber>sample string 3</FaxNumber>
    <PhoneNumber>sample string 2</PhoneNumber>
    <Website>sample string 4</Website>
  </ContactDetails>
  <GicsActivityClassification>
    <AdditionalProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </AdditionalProperties>
    <Description>sample string 1</Description>
    <Industry>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>1</Code>
      <Name>sample string 2</Name>
    </Industry>
    <IndustryGroup>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>1</Code>
      <Name>sample string 2</Name>
    </IndustryGroup>
    <Sector>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>1</Code>
      <Name>sample string 2</Name>
    </Sector>
    <SubIndustry>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Code>1</Code>
      <Name>sample string 2</Name>
    </SubIndustry>
  </GicsActivityClassification>
  <Gs1ProductClassifications>
    <Gs1ProductClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Family>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </Family>
      <ProductClass>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </ProductClass>
      <Segment>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </Segment>
    </Gs1ProductClassification>
    <Gs1ProductClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Family>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </Family>
      <ProductClass>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </ProductClass>
      <Segment>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Description>sample string 3</Description>
        <Name>sample string 2</Name>
      </Segment>
    </Gs1ProductClassification>
  </Gs1ProductClassifications>
  <InWaterStressedRegion>true</InWaterStressedRegion>
  <LocalName>sample string 9</LocalName>
  <NACEClassification>
    <AdditionalProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </AdditionalProperties>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
  </NACEClassification>
  <Name>sample string 8</Name>
  <ProductProcessClassifications>
    <ProductProcessClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Category>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Category>
      <Process>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Process>
    </ProductProcessClassification>
    <ProductProcessClassification>
      <AdditionalProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </AdditionalProperties>
      <Category>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Category>
      <Process>
        <AdditionalProperties xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 1</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
          <d5p1:KeyValueOfstringanyType>
            <d5p1:Key>sample string 3</d5p1:Key>
            <d5p1:Value />
          </d5p1:KeyValueOfstringanyType>
        </AdditionalProperties>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Process>
    </ProductProcessClassification>
  </ProductProcessClassifications>
  <SiteAmforiId>sample string 6</SiteAmforiId>
  <AdditionalProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </AdditionalProperties>
  <ExternalReference>sample string 1</ExternalReference>
  <MemberInternalReference>sample string 5</MemberInternalReference>
  <MergedIntoSiteAmforiId>sample string 3</MergedIntoSiteAmforiId>
  <State>sample string 2</State>
  <ZeroTolerance>true</ZeroTolerance>
</Site>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.