POST api/resources/GetPaperSizes
Request Information
URI Parameters
None.
Body Parameters
ResourceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Q | string |
None. |
|
| Language | string |
None. |
|
| IP | string |
None. |
|
| CompID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Q": "sample string 1",
"Language": "sample string 2",
"IP": "sample string 3",
"CompID": "sample string 4"
}
application/xml, text/xml
Sample:
<ResourceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Request"> <CompID xmlns="http://schemas.datacontract.org/2004/07/ViewModel">sample string 4</CompID> <IP xmlns="http://schemas.datacontract.org/2004/07/ViewModel">sample string 3</IP> <Language xmlns="http://schemas.datacontract.org/2004/07/ViewModel">sample string 2</Language> <Q>sample string 1</Q> </ResourceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseViewModelOfListOfPaperSizeNameViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Error | string |
None. |
|
| Result | Collection of PaperSizeNameViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Error": "sample string 2",
"Result": [
{
"Id": 1,
"SizeNameId": "sample string 2",
"PaperNameId": 3,
"PaperName": "sample string 4",
"Width": 1.1,
"Height": 1.1
},
{
"Id": 1,
"SizeNameId": "sample string 2",
"PaperNameId": 3,
"PaperName": "sample string 4",
"Width": 1.1,
"Height": 1.1
}
]
}
application/xml, text/xml
Sample:
<BaseResponseViewModelOfArrayOfPaperSizeNameViewModelPNLWuJQj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel">
<Error>sample string 2</Error>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.Resource">
<d2p1:PaperSizeNameViewModel>
<d2p1:Height>1.1</d2p1:Height>
<d2p1:Id>1</d2p1:Id>
<d2p1:PaperName>sample string 4</d2p1:PaperName>
<d2p1:PaperNameId>3</d2p1:PaperNameId>
<d2p1:SizeNameId>sample string 2</d2p1:SizeNameId>
<d2p1:Width>1.1</d2p1:Width>
</d2p1:PaperSizeNameViewModel>
<d2p1:PaperSizeNameViewModel>
<d2p1:Height>1.1</d2p1:Height>
<d2p1:Id>1</d2p1:Id>
<d2p1:PaperName>sample string 4</d2p1:PaperName>
<d2p1:PaperNameId>3</d2p1:PaperNameId>
<d2p1:SizeNameId>sample string 2</d2p1:SizeNameId>
<d2p1:Width>1.1</d2p1:Width>
</d2p1:PaperSizeNameViewModel>
</Result>
<Status>1</Status>
</BaseResponseViewModelOfArrayOfPaperSizeNameViewModelPNLWuJQj>