GET api/Visits/GetDocument?pDocNum={pDocNum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pDocNum

integer

Required

Body Parameters

None.

Response Information

Resource Description

DocumentsStore
NameDescriptionTypeAdditional information
document_code

integer

None.

cust_num

integer

Required

visit_code

integer

None.

debit_line

integer

None.

doc_desc

integer

Required

free_definition

string

String length: inclusive between 0 and 40

remark

string

String length: inclusive between 0 and 200

file_extension

string

String length: inclusive between 0 and 10

externalAccessionNumber

string

String length: inclusive between 0 and 16

agree_email

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

addate

date

None.

repacedocdate

date

None.

display_to_cust

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

prolongation_days

integer

None.

firstseen

date

None.

Response Formats

application/json, text/json

Sample:
{
  "document_code": 1,
  "cust_num": 2,
  "visit_code": 1,
  "debit_line": 1,
  "doc_desc": 3,
  "free_definition": "sample string 4",
  "remark": "sample string 5",
  "file_extension": "sample string 6",
  "externalAccessionNumber": "sample string 7",
  "agree_email": "sample string 8",
  "active": "sample string 9",
  "addate": "2019-10-18T01:38:49.8855719+03:00",
  "repacedocdate": "2019-10-18T01:38:49.8855719+03:00",
  "display_to_cust": "sample string 10",
  "prolongation_days": 1,
  "firstseen": "2019-10-18T01:38:49.8855719+03:00"
}

application/xml, text/xml

Sample:
<DocumentsStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 9</active>
  <addate>2019-10-18T01:38:49.8855719+03:00</addate>
  <agree_email>sample string 8</agree_email>
  <cust_num>2</cust_num>
  <debit_line>1</debit_line>
  <display_to_cust>sample string 10</display_to_cust>
  <doc_desc>3</doc_desc>
  <document_code>1</document_code>
  <externalAccessionNumber>sample string 7</externalAccessionNumber>
  <file_extension>sample string 6</file_extension>
  <firstseen>2019-10-18T01:38:49.8855719+03:00</firstseen>
  <free_definition>sample string 4</free_definition>
  <prolongation_days>1</prolongation_days>
  <remark>sample string 5</remark>
  <repacedocdate>2019-10-18T01:38:49.8855719+03:00</repacedocdate>
  <visit_code>1</visit_code>
</DocumentsStore>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.