POST api/User/AssignContract

User + Contract

Request Information

URI Parameters

None.

Body Parameters

UserContract
NameDescriptionTypeAdditional information
UserContractId

integer

None.

UserId

integer

None.

ContractId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userContractId": 1,
  "userId": 2,
  "contractId": 3
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.