POST api/NoteTypes
Request Information
URI Parameters
None.
Body Parameters
NoteType| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteTypeId | integer |
None. |
|
| Name | string |
Required |
|
| Template | string |
None. |
|
| IsActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"noteTypeId": 1,
"name": "sample string 2",
"template": "sample string 3",
"isActive": true
}
text/html
Sample:
{"noteTypeId":1,"name":"sample string 2","template":"sample string 3","isActive":true}
application/xml, text/xml
Sample:
<NoteType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models"> <IsActive>true</IsActive> <Name>sample string 2</Name> <NoteTypeId>1</NoteTypeId> <Template>sample string 3</Template> </NoteType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.