GET v{version}/errors/method-not-allowed

Details

Method not allowed 405 response. This error occurs if the wrong HTTP method is used. This will stop a HTTP DELETE request to what should be a HTTP GET request for example. To simulate this scenario, send anything other than a GET request to this endpoint.

https://api.procurewizard.com/v1.0/errors/method-not-allowed

Request

URI Parameters

These are parameters passed as part of the URL in the request.

Name Description Type Additional information
version

The API version parameter. The current version is 1.0.

string

None

Response

Response Description

A response object of ErrorResponse
Name Description Type Additional information
errors

The current collection of errors.

Collection of Error

None

jsonApi

Implementation details of JSON:API.

Implementation

None

Response Formats

Example responses of what the data might contain.

    
{
  "errors": [
    {
      "id": "85fa5190a6ae4d63be3bf6172e245f01",
      "links": {},
      "status": "Continue",
      "code": "400",
      "title": "Example Error",
      "detail": "Example error details.",
      "source": {
        "pointer": {},
        "parameter": "Sample string 2"
      },
      "meta": {
        "copyright": "© 2025 The Access Group"
      }
    },
    {
      "id": "85fa5190a6ae4d63be3bf6172e245f01",
      "links": {},
      "status": "Continue",
      "code": "400",
      "title": "Example Error",
      "detail": "Example error details.",
      "source": {
        "pointer": {},
        "parameter": "Sample string 2"
      },
      "meta": {
        "copyright": "© 2025 The Access Group"
      }
    }
  ],
  "jsonApi": {
    "version": "1.0"
  }
}
    
    
<ErrorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.ErrorManagement.Debugging">
  <JsonApi xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
    <d2p1:Version>1.0</d2p1:Version>
  </JsonApi>
  <Errors>
    <Error>
      <Code>400</Code>
      <Detail>Example error details.</Detail>
      <Id>85fa5190a6ae4d63be3bf6172e245f01</Id>
      <Links />
      <Meta xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Copyright>© 2025 The Access Group</d4p1:Copyright>
      </Meta>
      <Source xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Parameter>Sample string 2</d4p1:Parameter>
        <d4p1:Pointer />
      </Source>
      <Status>Continue</Status>
      <Title>Example Error</Title>
    </Error>
    <Error>
      <Code>400</Code>
      <Detail>Example error details.</Detail>
      <Id>85fa5190a6ae4d63be3bf6172e245f01</Id>
      <Links />
      <Meta xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Copyright>© 2025 The Access Group</d4p1:Copyright>
      </Meta>
      <Source xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Parameter>Sample string 2</d4p1:Parameter>
        <d4p1:Pointer />
      </Source>
      <Status>Continue</Status>
      <Title>Example Error</Title>
    </Error>
  </Errors>
</ErrorResponse>
    

Back