POST api/NBAApi/UpsertNBAGameMapping

Request Information

URI Parameters

None.

Body Parameters

AddNBAGameMappingCommandDto
NameDescriptionTypeAdditional information
NBAId

globally unique identifier

None.

ContestId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "NBAId": "cba1940c-98a8-4abc-9b0a-5607b69ca05c",
  "ContestId": "761a95ca-9e83-4cbb-875b-40e9c8f514d8"
}

application/xml, text/xml

Sample:
<AddNBAGameMappingCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.NBAModule.Model">
  <ContestId>761a95ca-9e83-4cbb-875b-40e9c8f514d8</ContestId>
  <NBAId>cba1940c-98a8-4abc-9b0a-5607b69ca05c</NBAId>
</AddNBAGameMappingCommandDto>

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

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>