POST AuditionsAPI/AddAudition

Request Information

URI Parameters

None.

Body Parameters

Auditions
NameDescriptionTypeAdditional information
AuditionID

integer

None.

Active

boolean

None.

AuditionDepartment

string

None.

AuditionDescription

string

None.

AuditionName

string

None.

AuditionStartDate

date

None.

AuditionStartDateStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AuditionID": 1,
  "Active": true,
  "AuditionDepartment": "sample string 3",
  "AuditionDescription": "sample string 4",
  "AuditionName": "sample string 5",
  "AuditionStartDate": "2021-01-23T08:40:03.5002322+00:00",
  "AuditionStartDateStr": "sample string 7"
}

application/xml, text/xml

Sample:
<Auditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Active>true</Active>
  <AuditionDepartment>sample string 3</AuditionDepartment>
  <AuditionDescription>sample string 4</AuditionDescription>
  <AuditionID>1</AuditionID>
  <AuditionName>sample string 5</AuditionName>
  <AuditionStartDate>2021-01-23T08:40:03.5002322+00:00</AuditionStartDate>
  <AuditionStartDateStr>sample string 7</AuditionStartDateStr>
</Auditions>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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