GET Integrations/Sun/V1/GetSupplierMappings?SiteID={SiteID}

Gets the Supplier Mappings for given site.

Request Information

URI Parameters

Name Type Description Additional information
SiteID integer

Site ID which you want the mappings for

Body Parameters

None.

Response Information

Resource Description

Collection of SupplierMappingDto
Name Type Description Additional information
SiteID integer

None.

SupplierID integer

None.

Name string

None.

Active boolean

None.

Contact ContactDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SiteID": 1,
    "SupplierID": 2,
    "Name": "sample string 3",
    "Active": true,
    "Contact": {
      "SSCContactID": "sample string 1",
      "Name": "sample string 2",
      "DisplayName": "sample string 1 - sample string 2"
    }
  },
  {
    "SiteID": 1,
    "SupplierID": 2,
    "Name": "sample string 3",
    "Active": true,
    "Contact": {
      "SSCContactID": "sample string 1",
      "Name": "sample string 2",
      "DisplayName": "sample string 1 - sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfSupplierMappingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.Integrations.SSC.Models.Dto">
  <SupplierMappingDto>
    <Active>true</Active>
    <Contact>
      <Name>sample string 2</Name>
      <SSCContactID>sample string 1</SSCContactID>
    </Contact>
    <Name>sample string 3</Name>
    <SiteID>1</SiteID>
    <SupplierID>2</SupplierID>
  </SupplierMappingDto>
  <SupplierMappingDto>
    <Active>true</Active>
    <Contact>
      <Name>sample string 2</Name>
      <SSCContactID>sample string 1</SSCContactID>
    </Contact>
    <Name>sample string 3</Name>
    <SiteID>1</SiteID>
    <SupplierID>2</SupplierID>
  </SupplierMappingDto>
</ArrayOfSupplierMappingDto>