POST api/Influencer/EditInfluencer

Request Information

URI Parameters

None.

Body Parameters

EditInfluencerCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

AccountId

globally unique identifier

None.

ContestId

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "63b2d785-9da4-424e-8122-1d3bc1ebc5e5",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "AccountId": "91deb295-e5b5-4834-941c-c3eee6cfdd34",
  "ContestId": "dc9ee44c-1afc-489f-a906-16e07c5303bd",
  "UserId": "6c16bff8-c2b3-4ee2-9ae9-40659bb80d23"
}

application/xml, text/xml

Sample:
<EditInfluencerCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.InfluencerModule.Model">
  <AccountId>91deb295-e5b5-4834-941c-c3eee6cfdd34</AccountId>
  <ContestId>dc9ee44c-1afc-489f-a906-16e07c5303bd</ContestId>
  <FirstName>sample string 2</FirstName>
  <Id>63b2d785-9da4-424e-8122-1d3bc1ebc5e5</Id>
  <LastName>sample string 3</LastName>
  <UserId>6c16bff8-c2b3-4ee2-9ae9-40659bb80d23</UserId>
</EditInfluencerCommandDto>

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 'EditInfluencerCommandDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>