POST api/Vision/PostVision

To get data from scanned receipt

Request Information

URI Parameters

None.

Body Parameters

Scanned receipt

Attactment
NameDescriptionTypeAdditional information
ContentType

string

None.

FileContents

string

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentType": "sample string 1",
  "FileContents": "sample string 2",
  "FileName": "sample string 3"
}

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

Response Information

Resource Description

ApiResponseOfObject
NameDescriptionTypeAdditional information
Result

Object

None.

Status

boolean

None.

Message

string

None.

Errors

Errors occures while processing request

Collection of ApiError

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {},
  "Status": true,
  "Message": "sample string 3",
  "Errors": [
    {
      "Number": 1,
      "Message": "sample string 2",
      "Exception": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    },
    {
      "Number": 1,
      "Message": "sample string 2",
      "Exception": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    }
  ]
}