POST api/LPA/GetDocumentData

Request Information

URI Parameters

None.

Body Parameters

LPADocInDocRequest
NameDescriptionTypeAdditional information
companyId

integer

None.

regNo

string

None.

processId

integer

None.

DocType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "companyId": 1,
  "regNo": "sample string 2",
  "processId": 3,
  "DocType": "sample string 4"
}

application/xml, text/xml

Sample:
<LPADocInDocRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
  <DocType>sample string 4</DocType>
  <companyId>1</companyId>
  <processId>3</processId>
  <regNo>sample string 2</regNo>
</LPADocInDocRequest>

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 'LPADocInDocRequest'.

Response Information

Resource Description

LPADocInDocResponseOfListOfLPADocumentDetails
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

bTagging

boolean

None.

data

Collection of LPADocumentDetails

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'FTSMDLClassLibrary.WebAPIMDL.LPA.LPADocumentDetails'. Path 'data[0].Children'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'FTSMDLClassLibrary.WebAPIMDL.LPA.LPADocumentDetails'. Path 'data[0].Children'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FTSMDLClassLibrary.WebAPIMDL.LPA.LPADocumentDetails, FTSMDLClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FTSMDLClassLibrary.WebAPIMDL.LPA.LPADocumentDetails, FTSMDLClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.