GET api/Visits/GetDocument?pDocNum={pDocNum}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pDocNum | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DocumentsStore| Name | Description | Type | Additional information |
|---|---|---|---|
| document_code | integer |
None. |
|
| cust_num | integer |
Required |
|
| visit_code | integer |
None. |
|
| service_code | integer |
None. |
|
| sendingFactor_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 |
|
| is_uploaded_by_customer | 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. |
|
| external_platform | boolean |
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,
"sendingFactor_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",
"is_uploaded_by_customer": "sample string 10",
"addate": "2026-04-17T13:21:59.3855829+03:00",
"repacedocdate": "2026-04-17T13:21:59.3855829+03:00",
"display_to_cust": "sample string 11",
"prolongation_days": 1,
"firstseen": "2026-04-17T13:21:59.3855829+03:00",
"interface_code": "sample string 12",
"old_code": 1,
"external_platform": true,
"cust_view_date": "2026-04-17T13:21:59.3855829+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>2026-04-17T13:21:59.3855829+03:00</addate> <agree_email>sample string 8</agree_email> <cust_num>2</cust_num> <cust_view_date>2026-04-17T13:21:59.3855829+03:00</cust_view_date> <debit_line>1</debit_line> <display_to_cust>sample string 11</display_to_cust> <doc_desc>3</doc_desc> <document_code>1</document_code> <externalAccessionNumber>sample string 7</externalAccessionNumber> <external_platform>true</external_platform> <file_extension>sample string 6</file_extension> <firstseen>2026-04-17T13:21:59.3855829+03:00</firstseen> <free_definition>sample string 4</free_definition> <interface_code>sample string 12</interface_code> <is_uploaded_by_customer>sample string 10</is_uploaded_by_customer> <old_code>1</old_code> <prolongation_days>1</prolongation_days> <remark>sample string 5</remark> <repacedocdate>2026-04-17T13:21:59.3855829+03:00</repacedocdate> <sendingFactor_code>1</sendingFactor_code> <service_code>1</service_code> <visit_code>1</visit_code> </DocumentsStore>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.