POST api/AddCastingCallRole

Request Information

URI Parameters

None.

Body Parameters

AddCastingCallRoleRequest
NameDescriptionTypeAdditional information
casting_call_id

integer

None.

role_name

string

None.

display_order

integer

None.

added_by

string

None.

Request Formats

application/json, text/json

Sample:
{
  "casting_call_id": 1,
  "role_name": "sample string 2",
  "display_order": 3,
  "added_by": "sample string 4"
}

application/xml, text/xml

Sample:
<AddCastingCallRoleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dbTubecast.Models">
  <added_by>sample string 4</added_by>
  <casting_call_id>1</casting_call_id>
  <display_order>3</display_order>
  <role_name>sample string 2</role_name>
</AddCastingCallRoleRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.