POST api/MakeIndex

Request Information

URI Parameters

None.

Body Parameters

MergeDataBinding
NameDescriptionTypeAdditional information
DocumentList

Collection of string

None.

Project

string

None.

MergeDocumentList

Collection of MergeDocumentList

None.

SubmittedBy

string

None.

ProjectAddress1

string

None.

ProjectAddress2

string

None.

ProjectCity

string

None.

ProjectState

string

None.

ProjectZipcode

string

None.

Emailaddress

string

None.

PhoneNumber

string

None.

Imagepath

string

None.

Generalcontractor

string

None.

Subcontractor

string

None.

Distributor

string

None.

Comment

string

None.

Emailflag

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentList": [
    "sample string 1",
    "sample string 2"
  ],
  "Project": "sample string 1",
  "MergeDocumentList": [
    {
      "DocumentName": "sample string 1",
      "ExternalId": "sample string 2"
    },
    {
      "DocumentName": "sample string 1",
      "ExternalId": "sample string 2"
    }
  ],
  "SubmittedBy": "sample string 2",
  "ProjectAddress1": "sample string 3",
  "ProjectAddress2": "sample string 4",
  "ProjectCity": "sample string 5",
  "ProjectState": "sample string 6",
  "ProjectZipcode": "sample string 7",
  "Emailaddress": "sample string 8",
  "PhoneNumber": "sample string 9",
  "Imagepath": "sample string 10",
  "Generalcontractor": "sample string 11",
  "Subcontractor": "sample string 12",
  "Distributor": "sample string 13",
  "Comment": "sample string 14",
  "Emailflag": 64
}

application/xml, text/xml

Sample:
<MergeDataBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPItest.Models">
  <Comment>sample string 14</Comment>
  <Distributor>sample string 13</Distributor>
  <DocumentList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DocumentList>
  <Emailaddress>sample string 8</Emailaddress>
  <Emailflag>64</Emailflag>
  <Generalcontractor>sample string 11</Generalcontractor>
  <Imagepath>sample string 10</Imagepath>
  <MergeDocumentList>
    <MergeDocumentList>
      <DocumentName>sample string 1</DocumentName>
      <ExternalId>sample string 2</ExternalId>
    </MergeDocumentList>
    <MergeDocumentList>
      <DocumentName>sample string 1</DocumentName>
      <ExternalId>sample string 2</ExternalId>
    </MergeDocumentList>
  </MergeDocumentList>
  <PhoneNumber>sample string 9</PhoneNumber>
  <Project>sample string 1</Project>
  <ProjectAddress1>sample string 3</ProjectAddress1>
  <ProjectAddress2>sample string 4</ProjectAddress2>
  <ProjectCity>sample string 5</ProjectCity>
  <ProjectState>sample string 6</ProjectState>
  <ProjectZipcode>sample string 7</ProjectZipcode>
  <Subcontractor>sample string 12</Subcontractor>
  <SubmittedBy>sample string 2</SubmittedBy>
</MergeDataBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of IndexDetails
NameDescriptionTypeAdditional information
Documentname

string

None.

PageCountStart

integer

None.

PageCountEnd

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Documentname": "sample string 1",
    "PageCountStart": 2,
    "PageCountEnd": 3
  },
  {
    "Documentname": "sample string 1",
    "PageCountStart": 2,
    "PageCountEnd": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfIndexDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPItest.Models">
  <IndexDetails>
    <Documentname>sample string 1</Documentname>
    <PageCountEnd>3</PageCountEnd>
    <PageCountStart>2</PageCountStart>
  </IndexDetails>
  <IndexDetails>
    <Documentname>sample string 1</Documentname>
    <PageCountEnd>3</PageCountEnd>
    <PageCountStart>2</PageCountStart>
  </IndexDetails>
</ArrayOfIndexDetails>