POST api/PracticeAreas/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

integer

Required

Body Parameters

UserPracticeArea
NameDescriptionTypeAdditional information
UserID

integer

None.

User

User

None.

PracticeAreaID

integer

None.

Practice

PracticeArea

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "User": {
    "UserID": 1,
    "Name": "sample string 2",
    "Img": "sample string 3",
    "Type": 4
  },
  "PracticeAreaID": 2,
  "Practice": {
    "PracticeAreaID": 1,
    "ExternalID": 2,
    "Name": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<UserPracticeArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <Practice>
    <ExternalID>2</ExternalID>
    <Name>sample string 3</Name>
    <PracticeAreaID>1</PracticeAreaID>
  </Practice>
  <PracticeAreaID>2</PracticeAreaID>
  <User>
    <Img>sample string 3</Img>
    <Name>sample string 2</Name>
    <Type>4</Type>
    <UserID>1</UserID>
  </User>
  <UserID>1</UserID>
</UserPracticeArea>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.