POST api/arciveApi/saveFileIntemp

Request Information

URI Parameters

None.

Body Parameters

attachment
NameDescriptionTypeAdditional information
doccode

integer

None.

imgs

Collection of imageInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "doccode": 1,
  "imgs": [
    {
      "imdata": "QEA=",
      "ext": "sample string 1",
      "filetype": 2,
      "imageid": 3,
      "filname": "sample string 4"
    },
    {
      "imdata": "QEA=",
      "ext": "sample string 1",
      "filetype": 2,
      "imageid": 3,
      "filname": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<attachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/avapi">
  <doccode>1</doccode>
  <imgs>
    <imageInfo>
      <ext>sample string 1</ext>
      <filetype>2</filetype>
      <filname>sample string 4</filname>
      <imageid>3</imageid>
      <imdata>QEA=</imdata>
    </imageInfo>
    <imageInfo>
      <ext>sample string 1</ext>
      <filetype>2</filetype>
      <filname>sample string 4</filname>
      <imageid>3</imageid>
      <imdata>QEA=</imdata>
    </imageInfo>
  </imgs>
</attachment>

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>