POST api/Notes
Request Information
URI Parameters
None.
Body Parameters
Collection of Note| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteID | integer |
None. |
|
| NoteCode | string |
Required String length: inclusive between 0 and 10 |
|
| InstanceID | integer |
None. |
|
| NotesValue | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"NoteID": 1,
"NoteCode": "sample string 2",
"InstanceID": 3,
"NotesValue": "sample string 4"
},
{
"NoteID": 1,
"NoteCode": "sample string 2",
"InstanceID": 3,
"NotesValue": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fires2024API.Models">
<Note>
<InstanceID>3</InstanceID>
<NoteCode>sample string 2</NoteCode>
<NoteID>1</NoteID>
<NotesValue>sample string 4</NotesValue>
</Note>
<Note>
<InstanceID>3</InstanceID>
<NoteCode>sample string 2</NoteCode>
<NoteID>1</NoteID>
<NotesValue>sample string 4</NotesValue>
</Note>
</ArrayOfNote>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Note| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteID | integer |
None. |
|
| NoteCode | string |
Required String length: inclusive between 0 and 10 |
|
| InstanceID | integer |
None. |
|
| NotesValue | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"NoteID": 1,
"NoteCode": "sample string 2",
"InstanceID": 3,
"NotesValue": "sample string 4"
}
application/xml, text/xml
Sample:
<Note xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fires2024API.Models"> <InstanceID>3</InstanceID> <NoteCode>sample string 2</NoteCode> <NoteID>1</NoteID> <NotesValue>sample string 4</NotesValue> </Note>