POST api/Notes19

Internal Secure API to write Scouter Notes to FIRES database (after 2019)

Request Information

URI Parameters

None.

Body Parameters

Collection of nNote
NameDescriptionTypeAdditional information
NoteID

integer

None.

NoteCode

string

Required

String length: inclusive between 0 and 10

clientInstanceID

string

Required

NotesValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "NoteID": 1,
    "NoteCode": "sample string 2",
    "clientInstanceID": "sample string 3",
    "NotesValue": "sample string 4"
  },
  {
    "NoteID": 1,
    "NoteCode": "sample string 2",
    "clientInstanceID": "sample string 3",
    "NotesValue": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfnNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiresUniAPI.Models">
  <nNote>
    <NoteCode>sample string 2</NoteCode>
    <NoteID>1</NoteID>
    <NotesValue>sample string 4</NotesValue>
    <clientInstanceID>sample string 3</clientInstanceID>
  </nNote>
  <nNote>
    <NoteCode>sample string 2</NoteCode>
    <NoteID>1</NoteID>
    <NotesValue>sample string 4</NotesValue>
    <clientInstanceID>sample string 3</clientInstanceID>
  </nNote>
</ArrayOfnNote>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'nNote[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.