POST api/ProjectTag

Request Information

URI Parameters

None.

Body Parameters

ProjectTagModel
NameDescriptionTypeAdditional information
ProjectTagId

integer

None.

ProjectId

integer

None.

ProjectTagName

string

None.

ProjectSortOrder

integer

None.

ActiveStatus

boolean

None.

ProjectTagOptionList

Collection of ProjectTagOptionModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectTagId": 1,
  "ProjectId": 2,
  "ProjectTagName": "sample string 3",
  "ProjectSortOrder": 4,
  "ActiveStatus": true,
  "ProjectTagOptionList": [
    {
      "ProjectTagOptionId": 1,
      "ProjectTagId": 2,
      "ProjectTagOptionName": "sample string 3",
      "ProjectTagOptionValue": "sample string 4",
      "ProjectTagOptionColor": "sample string 5",
      "ProjectTagOptionSortOrder": 6,
      "ActiveStatus": true
    },
    {
      "ProjectTagOptionId": 1,
      "ProjectTagId": 2,
      "ProjectTagOptionName": "sample string 3",
      "ProjectTagOptionValue": "sample string 4",
      "ProjectTagOptionColor": "sample string 5",
      "ProjectTagOptionSortOrder": 6,
      "ActiveStatus": true
    }
  ]
}

application/xml, text/xml

Sample:
<ProjectTagModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ActiveStatus>true</ActiveStatus>
  <ProjectId>2</ProjectId>
  <ProjectSortOrder>4</ProjectSortOrder>
  <ProjectTagId>1</ProjectTagId>
  <ProjectTagName>sample string 3</ProjectTagName>
  <ProjectTagOptionList>
    <ProjectTagOptionModel>
      <ActiveStatus>true</ActiveStatus>
      <ProjectTagId>2</ProjectTagId>
      <ProjectTagOptionColor>sample string 5</ProjectTagOptionColor>
      <ProjectTagOptionId>1</ProjectTagOptionId>
      <ProjectTagOptionName>sample string 3</ProjectTagOptionName>
      <ProjectTagOptionSortOrder>6</ProjectTagOptionSortOrder>
      <ProjectTagOptionValue>sample string 4</ProjectTagOptionValue>
    </ProjectTagOptionModel>
    <ProjectTagOptionModel>
      <ActiveStatus>true</ActiveStatus>
      <ProjectTagId>2</ProjectTagId>
      <ProjectTagOptionColor>sample string 5</ProjectTagOptionColor>
      <ProjectTagOptionId>1</ProjectTagOptionId>
      <ProjectTagOptionName>sample string 3</ProjectTagOptionName>
      <ProjectTagOptionSortOrder>6</ProjectTagOptionSortOrder>
      <ProjectTagOptionValue>sample string 4</ProjectTagOptionValue>
    </ProjectTagOptionModel>
  </ProjectTagOptionList>
</ProjectTagModel>

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.