POST ops/check/report

Request Information

URI Parameters

None.

Body Parameters

ReportItemPOST
NameDescriptionTypeAdditional information
Coordinates

Coordinates

None.

ReasonId

integer

None.

RegNo

string

None.

Submitted

date

None.

SubmittedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "coordinates": null,
  "reasonId": 1,
  "regNo": "sample string 2",
  "submitted": "2024-07-27T05:35:38.3532657+02:00",
  "submittedBy": "sample string 4"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

Response Information

Resource Description

None.