PUT api/Affiliations?appId={appId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appId

System.Guid

Required

Body Parameters

System.Collections.Generic.ICollection`1[Altai.Web.Services.Models.Affiliation]
NameDescriptionTypeAdditional information
Id

System.Guid

None.

AccountId

System.Guid

None.

Name

System.String

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "e8ba4d1e-05b5-44d5-93fe-f7eb7b0c02a2",
    "AccountId": "981bea3e-9b60-4fb9-8bcb-6e008d86b967",
    "Name": "sample string 2"
  },
  {
    "Id": "e8ba4d1e-05b5-44d5-93fe-f7eb7b0c02a2",
    "AccountId": "981bea3e-9b60-4fb9-8bcb-6e008d86b967",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAffiliation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <Affiliation>
    <AccountId>981bea3e-9b60-4fb9-8bcb-6e008d86b967</AccountId>
    <Id>e8ba4d1e-05b5-44d5-93fe-f7eb7b0c02a2</Id>
    <Name>sample string 2</Name>
  </Affiliation>
  <Affiliation>
    <AccountId>981bea3e-9b60-4fb9-8bcb-6e008d86b967</AccountId>
    <Id>e8ba4d1e-05b5-44d5-93fe-f7eb7b0c02a2</Id>
    <Name>sample string 2</Name>
  </Affiliation>
</ArrayOfAffiliation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ICollection`1'.

Response Information

Resource Description

None.