GET api/Common/GetWorkOrderUploadDocumentTypes?leaseId={leaseId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
leaseId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DocumentTypesListName | Description | Type | Additional information |
---|---|---|---|
docTypeList | Collection of DocTypes |
None. |
|
residentName | string |
None. |
|
address | string |
None. |
|
uploadPath | string |
None. |
|
maxFileSize | integer |
None. |
|
allowedFileFormats | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "docTypeList": [ { "documentTypeId": 1, "systemDocumentTypeId": 2, "documentType": "sample string 3" }, { "documentTypeId": 1, "systemDocumentTypeId": 2, "documentType": "sample string 3" } ], "residentName": "sample string 1", "address": "sample string 2", "uploadPath": "sample string 3", "maxFileSize": 4, "allowedFileFormats": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<DocumentTypesList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.YottaResident.WebAPIs.Models"> <address>sample string 2</address> <allowedFileFormats xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </allowedFileFormats> <docTypeList> <DocTypes> <documentType>sample string 3</documentType> <documentTypeId>1</documentTypeId> <systemDocumentTypeId>2</systemDocumentTypeId> </DocTypes> <DocTypes> <documentType>sample string 3</documentType> <documentTypeId>1</documentTypeId> <systemDocumentTypeId>2</systemDocumentTypeId> </DocTypes> </docTypeList> <maxFileSize>4</maxFileSize> <residentName>sample string 1</residentName> <uploadPath>sample string 3</uploadPath> </DocumentTypesList>