POST api/arciveApi/EditNewDoc

Request Information

URI Parameters

None.

Body Parameters

docInfo
NameDescriptionTypeAdditional information
doccode

integer

None.

docmaintype

integer

None.

subject

string

None.

securityLevel

integer

None.

doctype

integer

None.

docfrom

integer

None.

owner

integer

None.

state

integer

None.

printeddate

string

None.

printedno

string

None.

docdate

date

None.

sendtols

Collection of _sendto

None.

Request Formats

application/json, text/json

Sample:
{
  "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:38:54.2051586-06:00",
  "sendtols": [
    {
      "sidecode": 1,
      "sendtype": 2
    },
    {
      "sidecode": 1,
      "sendtype": 2
    }
  ]
}

application/xml, text/xml

Sample:
<docInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/avapi">
  <doccode>1</doccode>
  <docdate>2025-12-11T08:38:54.2051586-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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>