Api/ProcFormNoteAdd

From RPM Wiki

Table of contents

Summary

API: Add a note to a form

Request

You need to identify the form and the note text

  • Either the form ID or form number + process is needed.
  • The note text is specified per note type, and both types of notes can be added at once.

Form by form ID, note for all and for staff

{
  "Key":"{api key}",
  "Form": {
    "FormID":"{form id}",
    "Note":"{note text}",
    "NoteForStaff":"{note text}"
  }
}

By form number + process name, note just for staff

{
  "Key":"{api key}",
  "Process":"{process name}",
  "Form": {
    "Number":"{form number}"
     "NoteForStaff":"{note text}"
  }
}

Examples

http://demo.rpmsoftware.com/rpm/Api.svc/ProcFormNoteAdd

{
  "Key":"abc123def456",
  "ProcessID":"12",
  "Form": {
    "Number":"Q123456",
    "Note":"This note will be added into the Notes box",
    "NoteForStaff":"This note will be for staff only"
  }
}

Response

Use the response from Api/ProcForm

Errors

  • "Process not found"
  • "Form not found"
  • "Permission denied" (the API user does not have permission to add notes to that form)

Details

History

  • This page was last modified 06:50, 23 Mar 2010.
  • This page has been accessed 109 times.