POST Partner/GetSilageKitContacts/{partnerRoleId}/{locationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
partnerRoleId

globally unique identifier

Required

locationId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SilageKitContact
NameDescriptionTypeAdditional information
UserCompanies

Collection of UserCompanyBrand

None.

ShipTo

boolean

None.

SendEmailTo

boolean

None.

PartnerRoleId

globally unique identifier

None.

Role

string

None.

FISID

string

None.

Name

string

None.

AddressInfo

string

None.

EmailAddress

string

None.

City

string

None.

StateProvince

string

None.

PostalCode

string

None.

Country

string

None.

County

string

None.

Street1

string

None.

Street2

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserCompanies": [
      {
        "$id": "1",
        "CompanyCode": "sample string 1",
        "UserName": "sample string 2",
        "CountryCode": "sample string 3",
        "BrandId": 4.0,
        "Region": "sample string 5",
        "ChangeTracker": {
          "$id": "2",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {}
        }
      },
      {
        "$ref": "1"
      }
    ],
    "ShipTo": true,
    "SendEmailTo": true,
    "PartnerRoleId": "2753a216-7570-4de0-a2a0-097f6f42de73",
    "Role": "sample string 4",
    "FISID": "sample string 5",
    "Name": "sample string 6",
    "AddressInfo": "sample string 13 sample string 14 sample string 8, sample string 9  sample string 10 ",
    "EmailAddress": "sample string 7",
    "City": "sample string 8",
    "StateProvince": "sample string 9",
    "PostalCode": "sample string 10",
    "Country": "sample string 11",
    "County": "sample string 12",
    "Street1": "sample string 13",
    "Street2": "sample string 14"
  },
  {
    "UserCompanies": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "ShipTo": true,
    "SendEmailTo": true,
    "PartnerRoleId": "2753a216-7570-4de0-a2a0-097f6f42de73",
    "Role": "sample string 4",
    "FISID": "sample string 5",
    "Name": "sample string 6",
    "AddressInfo": "sample string 13 sample string 14 sample string 8, sample string 9  sample string 10 ",
    "EmailAddress": "sample string 7",
    "City": "sample string 8",
    "StateProvince": "sample string 9",
    "PostalCode": "sample string 10",
    "Country": "sample string 11",
    "County": "sample string 12",
    "Street1": "sample string 13",
    "Street2": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSilageKitContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <SilageKitContact>
    <City>sample string 8</City>
    <Country>sample string 11</Country>
    <County>sample string 12</County>
    <EmailAddress>sample string 7</EmailAddress>
    <FISID>sample string 5</FISID>
    <Name>sample string 6</Name>
    <PartnerRoleId>2753a216-7570-4de0-a2a0-097f6f42de73</PartnerRoleId>
    <PostalCode>sample string 10</PostalCode>
    <Role>sample string 4</Role>
    <SendEmailTo>true</SendEmailTo>
    <ShipTo>true</ShipTo>
    <StateProvince>sample string 9</StateProvince>
    <Street1>sample string 13</Street1>
    <Street2>sample string 14</Street2>
    <UserCompanies>
      <UserCompanyBrand z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
        <BrandId>4</BrandId>
        <ChangeTracker z:Id="i2">
          <ExtendedProperties />
          <ObjectsAddedToCollectionProperties />
          <ObjectsRemovedFromCollectionProperties />
          <OriginalValues />
          <State>Added</State>
        </ChangeTracker>
        <CompanyCode>sample string 1</CompanyCode>
        <CountryCode>sample string 3</CountryCode>
        <Region>sample string 5</Region>
        <UserName>sample string 2</UserName>
      </UserCompanyBrand>
      <UserCompanyBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    </UserCompanies>
  </SilageKitContact>
  <SilageKitContact>
    <City>sample string 8</City>
    <Country>sample string 11</Country>
    <County>sample string 12</County>
    <EmailAddress>sample string 7</EmailAddress>
    <FISID>sample string 5</FISID>
    <Name>sample string 6</Name>
    <PartnerRoleId>2753a216-7570-4de0-a2a0-097f6f42de73</PartnerRoleId>
    <PostalCode>sample string 10</PostalCode>
    <Role>sample string 4</Role>
    <SendEmailTo>true</SendEmailTo>
    <ShipTo>true</ShipTo>
    <StateProvince>sample string 9</StateProvince>
    <Street1>sample string 13</Street1>
    <Street2>sample string 14</Street2>
    <UserCompanies>
      <UserCompanyBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
      <UserCompanyBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    </UserCompanies>
  </SilageKitContact>
</ArrayOfSilageKitContact>