POST api/Notes/SaveNote

Request Information

URI Parameters

None.

Body Parameters

Notes
NameDescriptionTypeAdditional information
pabama_ids

Collection of integer

None.

reference_no

string

None.

note

string

None.

created_by

integer

None.

eo_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pabama_ids": [
    1,
    2
  ],
  "reference_no": "sample string 1",
  "note": "sample string 2",
  "created_by": 3,
  "eo_id": 4
}

application/xml, text/xml

Sample:
<INotes.Notes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SiteProgressAPI.Interfaces">
  <created_by>3</created_by>
  <eo_id>4</eo_id>
  <note>sample string 2</note>
  <pabama_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </pabama_ids>
  <reference_no>sample string 1</reference_no>
</INotes.Notes>

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 'Notes'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.