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": "4a646e5e-6702-4cf7-9af0-155df178c845",
    "AccountId": "f47105d8-3caa-4d73-82cf-fbda8aa3aa5e",
    "Name": "sample string 2"
  },
  {
    "Id": "4a646e5e-6702-4cf7-9af0-155df178c845",
    "AccountId": "f47105d8-3caa-4d73-82cf-fbda8aa3aa5e",
    "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>f47105d8-3caa-4d73-82cf-fbda8aa3aa5e</AccountId>
    <Id>4a646e5e-6702-4cf7-9af0-155df178c845</Id>
    <Name>sample string 2</Name>
  </Affiliation>
  <Affiliation>
    <AccountId>f47105d8-3caa-4d73-82cf-fbda8aa3aa5e</AccountId>
    <Id>4a646e5e-6702-4cf7-9af0-155df178c845</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.