POST api/arciveApi/gettempdocs
Request Information
URI Parameters
None.
Body Parameters
doctmpserchkey| Name | Description | Type | Additional information |
|---|---|---|---|
| doccode | integer |
None. |
|
| state | integer |
None. |
|
| maindoctype | integer |
None. |
|
| subject | string |
None. |
|
| tofrom | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"doccode": 1,
"state": 2,
"maindoctype": 3,
"subject": "sample string 4",
"tofrom": 5
}
application/xml, text/xml
Sample:
<doctmpserchkey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/avapi"> <doccode>1</doccode> <maindoctype>3</maindoctype> <state>2</state> <subject>sample string 4</subject> <tofrom>5</tofrom> </doctmpserchkey>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
retImportDoc| Name | Description | Type | Additional information |
|---|---|---|---|
| State | integer |
None. |
|
| Message | string |
None. |
|
| imports | Collection of docInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"imports": [
{
"doccode": 1,
"docmaintype": 2,
"subject": "sample string 3",
"securityLevel": 4,
"doctype": 5,
"docfrom": 6,
"owner": 7,
"state": 8,
"printeddate": "sample string 9",
"printedno": "sample string 10",
"docdate": "2025-12-11T08:34:26.1756451-06:00",
"sendtols": [
{
"sidecode": 1,
"sendtype": 2
},
{
"sidecode": 1,
"sendtype": 2
}
]
},
{
"doccode": 1,
"docmaintype": 2,
"subject": "sample string 3",
"securityLevel": 4,
"doctype": 5,
"docfrom": 6,
"owner": 7,
"state": 8,
"printeddate": "sample string 9",
"printedno": "sample string 10",
"docdate": "2025-12-11T08:34:26.1756451-06:00",
"sendtols": [
{
"sidecode": 1,
"sendtype": 2
},
{
"sidecode": 1,
"sendtype": 2
}
]
}
],
"State": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<retImportDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/avapi">
<Message>sample string 2</Message>
<State>1</State>
<imports>
<docInfo>
<doccode>1</doccode>
<docdate>2025-12-11T08:34:26.1756451-06:00</docdate>
<docfrom>6</docfrom>
<docmaintype>2</docmaintype>
<doctype>5</doctype>
<owner>7</owner>
<printeddate>sample string 9</printeddate>
<printedno>sample string 10</printedno>
<securityLevel>4</securityLevel>
<sendtols>
<_sendto>
<sendtype>2</sendtype>
<sidecode>1</sidecode>
</_sendto>
<_sendto>
<sendtype>2</sendtype>
<sidecode>1</sidecode>
</_sendto>
</sendtols>
<state>8</state>
<subject>sample string 3</subject>
</docInfo>
<docInfo>
<doccode>1</doccode>
<docdate>2025-12-11T08:34:26.1756451-06:00</docdate>
<docfrom>6</docfrom>
<docmaintype>2</docmaintype>
<doctype>5</doctype>
<owner>7</owner>
<printeddate>sample string 9</printeddate>
<printedno>sample string 10</printedno>
<securityLevel>4</securityLevel>
<sendtols>
<_sendto>
<sendtype>2</sendtype>
<sidecode>1</sidecode>
</_sendto>
<_sendto>
<sendtype>2</sendtype>
<sidecode>1</sidecode>
</_sendto>
</sendtols>
<state>8</state>
<subject>sample string 3</subject>
</docInfo>
</imports>
</retImportDoc>