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.

service_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.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

cust_view_date

date

None.

Response Formats

application/json, text/json

Sample:
{
  "document_code": 1,
  "cust_num": 2,
  "visit_code": 1,
  "service_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": "2024-04-25T01:36:30.4153405+03:00",
  "repacedocdate": "2024-04-25T01:36:30.4153405+03:00",
  "display_to_cust": "sample string 10",
  "prolongation_days": 1,
  "firstseen": "2024-04-25T01:36:30.4153405+03:00",
  "interface_code": "sample string 11",
  "old_code": 1,
  "cust_view_date": "2024-04-25T01:36:30.4153405+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>2024-04-25T01:36:30.4153405+03:00</addate>
  <agree_email>sample string 8</agree_email>
  <cust_num>2</cust_num>
  <cust_view_date>2024-04-25T01:36:30.4153405+03:00</cust_view_date>
  <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>2024-04-25T01:36:30.4153405+03:00</firstseen>
  <free_definition>sample string 4</free_definition>
  <interface_code>sample string 11</interface_code>
  <old_code>1</old_code>
  <prolongation_days>1</prolongation_days>
  <remark>sample string 5</remark>
  <repacedocdate>2024-04-25T01:36:30.4153405+03:00</repacedocdate>
  <service_code>1</service_code>
  <visit_code>1</visit_code>
</DocumentsStore>

application/bson

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