POST web/General/APILogs

Request Information

URI Parameters

None.

Body Parameters

Collection of APILog
NameDescriptionTypeAdditional information
ID

integer

None.

provider_id

integer

Required

source

integer

Required

source_id

integer

Required

api_request

string

None.

api_response

string

None.

status

integer

None.

api_action_id

integer

None.

external_record_id

string

None.

http_status_code

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "provider_id": 2,
    "source": 3,
    "source_id": 4,
    "api_request": "sample string 5",
    "api_response": "sample string 6",
    "status": 7,
    "api_action_id": 8,
    "external_record_id": "sample string 9",
    "http_status_code": 10
  },
  {
    "id": 1,
    "provider_id": 2,
    "source": 3,
    "source_id": 4,
    "api_request": "sample string 5",
    "api_response": "sample string 6",
    "status": 7,
    "api_action_id": 8,
    "external_record_id": "sample string 9",
    "http_status_code": 10
  }
]

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 'List`1'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.