POST api/WestcorTMPOrder/OpenDocumentOrder
Creates a Document Request Order in the TMP system.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | A WestcorOpenDocumentOrderRequest object. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Login": {
"Username": "sample string 1",
"Password": "sample string 2",
"<SerializeSensitiveInfo>k__BackingField": true
},
"ClientID": "sample string 1",
"BusinessID": 2,
"VendorOrderID": "sample string 3",
"ClientOrderID": "sample string 4",
"ProductTypeID": 5,
"OrderTypeID": 6,
"PIDecision": "sample string 7",
"GIDecision": "sample string 8",
"Address": "sample string 9",
"Unit": "sample string 10",
"City": "sample string 11",
"CountyFIPS": "sample string 12",
"StateFIPS": "sample string 13",
"County": "sample string 14",
"State": "sample string 15",
"ZipCode": "sample string 16",
"DateNeeded": "sample string 17",
"Documents": [
{
"Book": "sample string 1",
"Page": "sample string 2",
"Instrument": "sample string 3",
"DocType": "sample string 4",
"RecordedDate": "sample string 5",
"Grantor": "sample string 6",
"Grantee": "sample string 7",
"Variants": "sample string 8"
},
{
"Book": "sample string 1",
"Page": "sample string 2",
"Instrument": "sample string 3",
"DocType": "sample string 4",
"RecordedDate": "sample string 5",
"Grantor": "sample string 6",
"Grantee": "sample string 7",
"Variants": "sample string 8"
},
{
"Book": "sample string 1",
"Page": "sample string 2",
"Instrument": "sample string 3",
"DocType": "sample string 4",
"RecordedDate": "sample string 5",
"Grantor": "sample string 6",
"Grantee": "sample string 7",
"Variants": "sample string 8"
}
],
"OptionalProvidedDocuments": [
{
"ProvidedDocumentName": "sample string 1",
"ProvidedDocumentBase64Encoded": "sample string 2"
},
{
"ProvidedDocumentName": "sample string 1",
"ProvidedDocumentBase64Encoded": "sample string 2"
},
{
"ProvidedDocumentName": "sample string 1",
"ProvidedDocumentBase64Encoded": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<WestcorOpenDocumentOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Hub">
<Address>sample string 9</Address>
<BusinessID>2</BusinessID>
<City>sample string 11</City>
<ClientID>sample string 1</ClientID>
<ClientOrderID>sample string 4</ClientOrderID>
<County>sample string 14</County>
<CountyFIPS>sample string 12</CountyFIPS>
<DateNeeded>sample string 17</DateNeeded>
<Documents>
<DocumentNeeded>
<Book>sample string 1</Book>
<DocType>sample string 4</DocType>
<Grantee>sample string 7</Grantee>
<Grantor>sample string 6</Grantor>
<Instrument>sample string 3</Instrument>
<Page>sample string 2</Page>
<RecordedDate>sample string 5</RecordedDate>
<Variants>sample string 8</Variants>
</DocumentNeeded>
<DocumentNeeded>
<Book>sample string 1</Book>
<DocType>sample string 4</DocType>
<Grantee>sample string 7</Grantee>
<Grantor>sample string 6</Grantor>
<Instrument>sample string 3</Instrument>
<Page>sample string 2</Page>
<RecordedDate>sample string 5</RecordedDate>
<Variants>sample string 8</Variants>
</DocumentNeeded>
<DocumentNeeded>
<Book>sample string 1</Book>
<DocType>sample string 4</DocType>
<Grantee>sample string 7</Grantee>
<Grantor>sample string 6</Grantor>
<Instrument>sample string 3</Instrument>
<Page>sample string 2</Page>
<RecordedDate>sample string 5</RecordedDate>
<Variants>sample string 8</Variants>
</DocumentNeeded>
</Documents>
<GIDecision>sample string 8</GIDecision>
<Login>
<Password>sample string 2</Password>
<Username>sample string 1</Username>
<_x003C_SerializeSensitiveInfo_x003E_k__BackingField>true</_x003C_SerializeSensitiveInfo_x003E_k__BackingField>
</Login>
<OptionalProvidedDocuments>
<ProvidedDocument>
<ProvidedDocumentBase64Encoded>sample string 2</ProvidedDocumentBase64Encoded>
<ProvidedDocumentName>sample string 1</ProvidedDocumentName>
<SerializeEncodedDoc>true</SerializeEncodedDoc>
</ProvidedDocument>
<ProvidedDocument>
<ProvidedDocumentBase64Encoded>sample string 2</ProvidedDocumentBase64Encoded>
<ProvidedDocumentName>sample string 1</ProvidedDocumentName>
<SerializeEncodedDoc>true</SerializeEncodedDoc>
</ProvidedDocument>
<ProvidedDocument>
<ProvidedDocumentBase64Encoded>sample string 2</ProvidedDocumentBase64Encoded>
<ProvidedDocumentName>sample string 1</ProvidedDocumentName>
<SerializeEncodedDoc>true</SerializeEncodedDoc>
</ProvidedDocument>
</OptionalProvidedDocuments>
<OrderTypeID>6</OrderTypeID>
<PIDecision>sample string 7</PIDecision>
<ProductTypeID>5</ProductTypeID>
<State>sample string 15</State>
<StateFIPS>sample string 13</StateFIPS>
<Unit>sample string 10</Unit>
<VendorOrderID>sample string 3</VendorOrderID>
<ZipCode>sample string 16</ZipCode>
</WestcorOpenDocumentOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"ResponseInfo": {
"Code": 1,
"Message": "sample string 2"
},
"TmpFileId": "sample string 1"
}
application/xml, text/xml
Sample:
<WestcorOpenDocumentOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Hub">
<ResponseInfo>
<Code>1</Code>
<Message>sample string 2</Message>
</ResponseInfo>
<TmpFileId>sample string 1</TmpFileId>
</WestcorOpenDocumentOrderResponse>