POST api/ProjectResource

Request Information

URI Parameters

None.

Body Parameters

ProjectResourceModel
NameDescriptionTypeAdditional information
ProjectResourceId

integer

None.

ProjectId

integer

None.

UserId

integer

None.

UserRoleId

integer

None.

UserGroupId

integer

None.

UserFirstName

string

None.

UserLastName

string

None.

UserHourlyRate

integer

None.

UserHoursPerDay

integer

None.

UserResponsibilities

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectResourceId": 1,
  "ProjectId": 2,
  "UserId": 3,
  "UserRoleId": 4,
  "UserGroupId": 5,
  "UserFirstName": "sample string 6",
  "UserLastName": "sample string 7",
  "UserHourlyRate": 8,
  "UserHoursPerDay": 9,
  "UserResponsibilities": 10
}

application/xml, text/xml

Sample:
<ProjectResourceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ProjectId>2</ProjectId>
  <ProjectResourceId>1</ProjectResourceId>
  <UserFirstName>sample string 6</UserFirstName>
  <UserGroupId>5</UserGroupId>
  <UserHourlyRate>8</UserHourlyRate>
  <UserHoursPerDay>9</UserHoursPerDay>
  <UserId>3</UserId>
  <UserLastName>sample string 7</UserLastName>
  <UserResponsibilities>10</UserResponsibilities>
  <UserRoleId>4</UserRoleId>
</ProjectResourceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.