POST api/journal/save-notes

Request Information

URI Parameters

None.

Body Parameters

Collection of SaveChildNoteRequestModel
NameDescriptionTypeAdditional information
childids

string

None.

categoryid

string

None.

notes

string

None.

time

string

None.

subcategoryid

string

None.

imageurl

Collection of string

None.

note_date

string

None.

staffonly

boolean

None.

imageList

Collection of JournalImageList

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "childids": "sample string 1",
    "categoryid": "sample string 2",
    "notes": "sample string 3",
    "time": "sample string 4",
    "subcategoryid": "sample string 5",
    "imageurl": [
      "sample string 1",
      "sample string 2"
    ],
    "note_date": "sample string 6",
    "staffonly": true,
    "imageList": [
      {
        "ImageURL": "sample string 1",
        "ContentType": "sample string 2",
        "VideoURL": "sample string 3"
      },
      {
        "ImageURL": "sample string 1",
        "ContentType": "sample string 2",
        "VideoURL": "sample string 3"
      }
    ]
  },
  {
    "childids": "sample string 1",
    "categoryid": "sample string 2",
    "notes": "sample string 3",
    "time": "sample string 4",
    "subcategoryid": "sample string 5",
    "imageurl": [
      "sample string 1",
      "sample string 2"
    ],
    "note_date": "sample string 6",
    "staffonly": true,
    "imageList": [
      {
        "ImageURL": "sample string 1",
        "ContentType": "sample string 2",
        "VideoURL": "sample string 3"
      },
      {
        "ImageURL": "sample string 1",
        "ContentType": "sample string 2",
        "VideoURL": "sample string 3"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSaveChildNoteRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <SaveChildNoteRequestModel>
    <categoryid>sample string 2</categoryid>
    <childids>sample string 1</childids>
    <imageList>
      <JournalImageList>
        <ContentType>sample string 2</ContentType>
        <ImageURL>sample string 1</ImageURL>
        <VideoURL>sample string 3</VideoURL>
      </JournalImageList>
      <JournalImageList>
        <ContentType>sample string 2</ContentType>
        <ImageURL>sample string 1</ImageURL>
        <VideoURL>sample string 3</VideoURL>
      </JournalImageList>
    </imageList>
    <imageurl xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </imageurl>
    <note_date>sample string 6</note_date>
    <notes>sample string 3</notes>
    <staffonly>true</staffonly>
    <subcategoryid>sample string 5</subcategoryid>
    <time>sample string 4</time>
  </SaveChildNoteRequestModel>
  <SaveChildNoteRequestModel>
    <categoryid>sample string 2</categoryid>
    <childids>sample string 1</childids>
    <imageList>
      <JournalImageList>
        <ContentType>sample string 2</ContentType>
        <ImageURL>sample string 1</ImageURL>
        <VideoURL>sample string 3</VideoURL>
      </JournalImageList>
      <JournalImageList>
        <ContentType>sample string 2</ContentType>
        <ImageURL>sample string 1</ImageURL>
        <VideoURL>sample string 3</VideoURL>
      </JournalImageList>
    </imageList>
    <imageurl xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </imageurl>
    <note_date>sample string 6</note_date>
    <notes>sample string 3</notes>
    <staffonly>true</staffonly>
    <subcategoryid>sample string 5</subcategoryid>
    <time>sample string 4</time>
  </SaveChildNoteRequestModel>
</ArrayOfSaveChildNoteRequestModel>

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 'List`1'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>