GET api/PaymentType/{id}
Fast method to get Payment Type by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiPaymentTypeOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| short_name | string |
None. |
|
| outer_id | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"short_name": "sample string 3",
"outer_id": "sample string 4"
}
application/xml, text/xml
Sample:
<ApiPaymentTypeOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 2</name> <short_name>sample string 3</short_name> <outer_id>sample string 4</outer_id> </ApiPaymentTypeOutput>