POST api/TablesManagement/ADUDocumentDescription?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

DocumentDescription
NameDescriptionTypeAdditional information
code

integer

None.

description

string

Required

String length: inclusive between 0 and 40

active

string

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

String length: inclusive between 0 and 1

agree_email

string

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

String length: inclusive between 0 and 1

for_ascii

string

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

String length: inclusive between 0 and 1

doc_type_code

string

String length: inclusive between 0 and 2

DocumentsStores

Collection of DocumentsStore

None.

Request Formats

application/json, text/json

Sample:
{
  "code": 1,
  "description": "sample string 2",
  "active": "sample string 3",
  "agree_email": "sample string 4",
  "for_ascii": "sample string 5",
  "doc_type_code": "sample string 6",
  "DocumentsStores": [
    {
      "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-18T02:18:13.4370482+03:00",
      "repacedocdate": "2019-10-18T02:18:13.4370482+03:00",
      "display_to_cust": "sample string 10",
      "prolongation_days": 1,
      "firstseen": "2019-10-18T02:18:13.4370482+03:00"
    },
    {
      "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-18T02:18:13.4370482+03:00",
      "repacedocdate": "2019-10-18T02:18:13.4370482+03:00",
      "display_to_cust": "sample string 10",
      "prolongation_days": 1,
      "firstseen": "2019-10-18T02:18:13.4370482+03:00"
    }
  ]
}

application/xml, text/xml

Sample:
<DocumentDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <DocumentsStores>
    <DocumentsStore>
      <active>sample string 9</active>
      <addate>2019-10-18T02:18:13.4370482+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-18T02:18:13.4370482+03:00</firstseen>
      <free_definition>sample string 4</free_definition>
      <prolongation_days>1</prolongation_days>
      <remark>sample string 5</remark>
      <repacedocdate>2019-10-18T02:18:13.4370482+03:00</repacedocdate>
      <visit_code>1</visit_code>
    </DocumentsStore>
    <DocumentsStore>
      <active>sample string 9</active>
      <addate>2019-10-18T02:18:13.4370482+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-18T02:18:13.4370482+03:00</firstseen>
      <free_definition>sample string 4</free_definition>
      <prolongation_days>1</prolongation_days>
      <remark>sample string 5</remark>
      <repacedocdate>2019-10-18T02:18:13.4370482+03:00</repacedocdate>
      <visit_code>1</visit_code>
    </DocumentsStore>
  </DocumentsStores>
  <active>sample string 3</active>
  <agree_email>sample string 4</agree_email>
  <code>1</code>
  <description>sample string 2</description>
  <doc_type_code>sample string 6</doc_type_code>
  <for_ascii>sample string 5</for_ascii>
</DocumentDescription>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

DocumentDescription
NameDescriptionTypeAdditional information
code

integer

None.

description

string

Required

String length: inclusive between 0 and 40

active

string

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

String length: inclusive between 0 and 1

agree_email

string

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

String length: inclusive between 0 and 1

for_ascii

string

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

String length: inclusive between 0 and 1

doc_type_code

string

String length: inclusive between 0 and 2

DocumentsStores

Collection of DocumentsStore

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "description": "sample string 2",
  "active": "sample string 3",
  "agree_email": "sample string 4",
  "for_ascii": "sample string 5",
  "doc_type_code": "sample string 6",
  "DocumentsStores": [
    {
      "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-18T02:18:13.4996647+03:00",
      "repacedocdate": "2019-10-18T02:18:13.4996647+03:00",
      "display_to_cust": "sample string 10",
      "prolongation_days": 1,
      "firstseen": "2019-10-18T02:18:13.4996647+03:00"
    },
    {
      "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-18T02:18:13.4996647+03:00",
      "repacedocdate": "2019-10-18T02:18:13.4996647+03:00",
      "display_to_cust": "sample string 10",
      "prolongation_days": 1,
      "firstseen": "2019-10-18T02:18:13.4996647+03:00"
    }
  ]
}

application/xml, text/xml

Sample:
<DocumentDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <DocumentsStores>
    <DocumentsStore>
      <active>sample string 9</active>
      <addate>2019-10-18T02:18:13.4996647+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-18T02:18:13.4996647+03:00</firstseen>
      <free_definition>sample string 4</free_definition>
      <prolongation_days>1</prolongation_days>
      <remark>sample string 5</remark>
      <repacedocdate>2019-10-18T02:18:13.4996647+03:00</repacedocdate>
      <visit_code>1</visit_code>
    </DocumentsStore>
    <DocumentsStore>
      <active>sample string 9</active>
      <addate>2019-10-18T02:18:13.4996647+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-18T02:18:13.4996647+03:00</firstseen>
      <free_definition>sample string 4</free_definition>
      <prolongation_days>1</prolongation_days>
      <remark>sample string 5</remark>
      <repacedocdate>2019-10-18T02:18:13.4996647+03:00</repacedocdate>
      <visit_code>1</visit_code>
    </DocumentsStore>
  </DocumentsStores>
  <active>sample string 3</active>
  <agree_email>sample string 4</agree_email>
  <code>1</code>
  <description>sample string 2</description>
  <doc_type_code>sample string 6</doc_type_code>
  <for_ascii>sample string 5</for_ascii>
</DocumentDescription>

application/bson

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