POST api/label

Request Information

URI Parameters

None.

Body Parameters

LabelCreateModel
NameDescriptionTypeAdditional information
Name

string

None.

Color

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Color": "sample string 2"
}

application/xml, text/xml

Sample:
<LabelCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.LabelModel.EditModels">
  <Color>sample string 2</Color>
  <Name>sample string 1</Name>
</LabelCreateModel>

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.