POST api/Influencer/AddInfluencer

Request Information

URI Parameters

None.

Body Parameters

AddInfluencerCommandDto
NameDescriptionTypeAdditional information
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:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "AccountId": "d7e54d7d-5b34-49e3-8c06-2c529d90627b",
  "ContestId": "21895d5d-bbe4-4fd0-af8a-4e255a4fe06a",
  "UserId": "c40f6e12-f225-41ec-a069-c7a561ee662e"
}

application/xml, text/xml

Sample:
<AddInfluencerCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.InfluencerModule.Model">
  <AccountId>d7e54d7d-5b34-49e3-8c06-2c529d90627b</AccountId>
  <ContestId>21895d5d-bbe4-4fd0-af8a-4e255a4fe06a</ContestId>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <UserId>c40f6e12-f225-41ec-a069-c7a561ee662e</UserId>
</AddInfluencerCommandDto>

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

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>