POST api/GraphApi/GetEmployeeDetailsWithOCR
Request Information
URI Parameters
None.
Body Parameters
OCRScanName | Description | Type | Additional information |
---|---|---|---|
ImageBlob | string |
None. |
|
cognitiveURL | string |
None. |
|
subscriptionKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ImageBlob": "sample string 1", "cognitiveURL": "sample string 2", "subscriptionKey": "sample string 3" }
text/html
Sample:
{"ImageBlob":"sample string 1","cognitiveURL":"sample string 2","subscriptionKey":"sample string 3"}
application/xml, text/xml
Sample:
<OCRScan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects"> <ImageBlob>sample string 1</ImageBlob> <cognitiveURL>sample string 2</cognitiveURL> <subscriptionKey>sample string 3</subscriptionKey> </OCRScan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UserName | Description | Type | Additional information |
---|---|---|---|
JobTitle | string |
None. |
|
SurName | string |
None. |
|
GivenName | string |
None. |
|
PerNo | string |
None. |
|
NTID | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "JobTitle": "sample string 1", "SurName": "sample string 2", "GivenName": "sample string 3", "PerNo": "sample string 4", "NTID": "sample string 5" }, { "JobTitle": "sample string 1", "SurName": "sample string 2", "GivenName": "sample string 3", "PerNo": "sample string 4", "NTID": "sample string 5" } ]
text/html
Sample:
[{"JobTitle":"sample string 1","SurName":"sample string 2","GivenName":"sample string 3","PerNo":"sample string 4","NTID":"sample string 5"},{"JobTitle":"sample string 1","SurName":"sample string 2","GivenName":"sample string 3","PerNo":"sample string 4","NTID":"sample string 5"}]
application/xml, text/xml
Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects"> <User> <GivenName>sample string 3</GivenName> <JobTitle>sample string 1</JobTitle> <NTID>sample string 5</NTID> <PerNo>sample string 4</PerNo> <SurName>sample string 2</SurName> </User> <User> <GivenName>sample string 3</GivenName> <JobTitle>sample string 1</JobTitle> <NTID>sample string 5</NTID> <PerNo>sample string 4</PerNo> <SurName>sample string 2</SurName> </User> </ArrayOfUser>