POST api/GetFieldSchemas

Request Information

URI Parameters

None.

Body Parameters

GetFieldSchemasModel
NameDescriptionTypeAdditional information
FileBytes

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "FileBytes": "QEA="
}

application/xml, text/xml

Sample:
<GetFieldSchemasModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PdfService.Models.RequestModels">
  <FileBytes>QEA=</FileBytes>
</GetFieldSchemasModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetFieldSchemasModel'.

Response Information

Resource Description

Collection of PdfFieldSchema
NameDescriptionTypeAdditional information
Name

string

None.

DataType

PdfDataType

None.

PossibleValues

Collection of string

None.

Value

string

None.

Values

Collection of string

None.

IsChecked

boolean

None.

IsReadonly

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "DataType": 1,
    "PossibleValues": [
      "sample string 1",
      "sample string 2"
    ],
    "Value": "sample string 2",
    "Values": [
      "sample string 1",
      "sample string 2"
    ],
    "IsChecked": true,
    "IsReadonly": true
  },
  {
    "Name": "sample string 1",
    "DataType": 1,
    "PossibleValues": [
      "sample string 1",
      "sample string 2"
    ],
    "Value": "sample string 2",
    "Values": [
      "sample string 1",
      "sample string 2"
    ],
    "IsChecked": true,
    "IsReadonly": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPdfFieldSchema xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PdfService.Models">
  <PdfFieldSchema>
    <DataType>BUTTON</DataType>
    <IsChecked>true</IsChecked>
    <IsReadonly>true</IsReadonly>
    <Name>sample string 1</Name>
    <PossibleValues xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PossibleValues>
    <Value>sample string 2</Value>
    <Values xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Values>
  </PdfFieldSchema>
  <PdfFieldSchema>
    <DataType>BUTTON</DataType>
    <IsChecked>true</IsChecked>
    <IsReadonly>true</IsReadonly>
    <Name>sample string 1</Name>
    <PossibleValues xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PossibleValues>
    <Value>sample string 2</Value>
    <Values xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Values>
  </PdfFieldSchema>
</ArrayOfPdfFieldSchema>