POST api/ClientError

Request Information

URI Parameters

None.

Body Parameters

ClientErrorModelCollection
NameDescriptionTypeAdditional information
Errors

Collection of ClientErrorModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "StoreNumber": "sample string 1",
      "OrgEntityUuid": "fd490f91-1c2d-4c16-a976-cdcca79da2a6",
      "ErrorDateTime": "2025-01-22T05:50:23.4268679+00:00",
      "ErrorPosition": "sample string 4",
      "ErrorMessage": "sample string 5",
      "StackTrace": "sample string 6"
    },
    {
      "StoreNumber": "sample string 1",
      "OrgEntityUuid": "fd490f91-1c2d-4c16-a976-cdcca79da2a6",
      "ErrorDateTime": "2025-01-22T05:50:23.4268679+00:00",
      "ErrorPosition": "sample string 4",
      "ErrorMessage": "sample string 5",
      "StackTrace": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientErrorModelCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConnectWise_Web.Models">
  <Errors>
    <ClientErrorModel>
      <ErrorDateTime>2025-01-22T05:50:23.4268679+00:00</ErrorDateTime>
      <ErrorMessage>sample string 5</ErrorMessage>
      <ErrorPosition>sample string 4</ErrorPosition>
      <OrgEntityUuid>fd490f91-1c2d-4c16-a976-cdcca79da2a6</OrgEntityUuid>
      <StackTrace>sample string 6</StackTrace>
      <StoreNumber>sample string 1</StoreNumber>
    </ClientErrorModel>
    <ClientErrorModel>
      <ErrorDateTime>2025-01-22T05:50:23.4268679+00:00</ErrorDateTime>
      <ErrorMessage>sample string 5</ErrorMessage>
      <ErrorPosition>sample string 4</ErrorPosition>
      <OrgEntityUuid>fd490f91-1c2d-4c16-a976-cdcca79da2a6</OrgEntityUuid>
      <StackTrace>sample string 6</StackTrace>
      <StoreNumber>sample string 1</StoreNumber>
    </ClientErrorModel>
  </Errors>
</ClientErrorModelCollection>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.