POST api/Tags/CreateNewTag
Request Information
URI Parameters
None.
Body Parameters
TagModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TagId | integer |
None. |
|
| TagNameEnglish | string |
None. |
|
| TagNameArabic | string |
None. |
|
| IsSelected | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TagId": 1,
"TagNameEnglish": "sample string 2",
"TagNameArabic": "sample string 3",
"IsSelected": true
}
application/xml, text/xml
Sample:
<TagModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VDoctorsApp.Models"> <IsSelected>true</IsSelected> <TagId>1</TagId> <TagNameArabic>sample string 3</TagNameArabic> <TagNameEnglish>sample string 2</TagNameEnglish> </TagModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |