POST api/Annotation

Request Information

URI Parameters

None.

Body Parameters

Annotation
NameDescriptionTypeAdditional information
annotationid

globally unique identifier

None.

subject

string

None.

filename

string

None.

mimetype

string

None.

isdocument

boolean

None.

createdon

date

None.

modifiedon

date

None.

notetext

string

None.

documentbody

string

None.

objectid_incident@odata.bind

string

None.

Request Formats

application/json, text/json

Sample:
{
  "annotationid": "f01666ac-bd68-423d-8eaf-c608a9efb1a2",
  "subject": "sample string 1",
  "filename": "sample string 2",
  "mimetype": "sample string 3",
  "isdocument": true,
  "createdon": "2026-07-03T13:33:20.126648+02:00",
  "modifiedon": "2026-07-03T13:33:20.126648+02:00",
  "notetext": "sample string 4",
  "documentbody": "sample string 5",
  "objectid_incident@odata.bind": "sample string 6"
}

application/xml, text/xml

Sample:
<Annotation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.AssoAste.BL.CRM">
  <Id>f01666ac-bd68-423d-8eaf-c608a9efb1a2</Id>
  <createdon>2026-07-03T13:33:20.126648+02:00</createdon>
  <documentbody>sample string 5</documentbody>
  <filename>sample string 2</filename>
  <isdocument>true</isdocument>
  <mimetype>sample string 3</mimetype>
  <modifiedon>2026-07-03T13:33:20.126648+02:00</modifiedon>
  <notetext>sample string 4</notetext>
  <objectid_incident>sample string 6</objectid_incident>
  <subject>sample string 1</subject>
</Annotation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.