GET api/Pet/GetActivePetTypes/{applicationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
applicationId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DBAPetTypeName | Description | Type | Additional information |
---|---|---|---|
PetTypeId | integer |
None. |
|
DBAPetTypeId | integer |
None. |
|
DBAPetTypeDesc | string |
None. |
|
MonthlyRent | decimal number |
None. |
|
NonRefundableFee | decimal number |
None. |
|
DepositAmount | decimal number |
None. |
|
CanChargeMonthlyRent | boolean |
None. |
|
CanChargeNonRefundableOneTimeFee | boolean |
None. |
|
CanChargeDeposit | boolean |
None. |
|
MonthlyRentTransactionCodeId | integer |
None. |
|
OneTimeFeeTransactionCodeId | integer |
None. |
|
DepositTransactionCodeId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "petTypeId": 1, "dbaPetTypeId": 1, "dbaPetTypeDesc": "sample string 1", "monthlyRent": 2.0, "nonRefundableFee": 3.0, "depositAmount": 4.0, "canChargeMonthlyRent": true, "canChargeNonRefundableOneTimeFee": true, "canChargeDeposit": true, "monthlyRentTransactionCodeId": 8, "oneTimeFeeTransactionCodeId": 9, "depositTransactionCodeId": 10 }, { "petTypeId": 1, "dbaPetTypeId": 1, "dbaPetTypeDesc": "sample string 1", "monthlyRent": 2.0, "nonRefundableFee": 3.0, "depositAmount": 4.0, "canChargeMonthlyRent": true, "canChargeNonRefundableOneTimeFee": true, "canChargeDeposit": true, "monthlyRentTransactionCodeId": 8, "oneTimeFeeTransactionCodeId": 9, "depositTransactionCodeId": 10 } ]
application/xml, text/xml
Sample:
<ArrayOfDBAPetType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DBAPetType> <PetTypeId>1</PetTypeId> <DBAPetTypeId>1</DBAPetTypeId> <DBAPetTypeDesc>sample string 1</DBAPetTypeDesc> <MonthlyRent>2</MonthlyRent> <NonRefundableFee>3</NonRefundableFee> <DepositAmount>4</DepositAmount> <CanChargeMonthlyRent>true</CanChargeMonthlyRent> <CanChargeNonRefundableOneTimeFee>true</CanChargeNonRefundableOneTimeFee> <CanChargeDeposit>true</CanChargeDeposit> <MonthlyRentTransactionCodeId>8</MonthlyRentTransactionCodeId> <OneTimeFeeTransactionCodeId>9</OneTimeFeeTransactionCodeId> <DepositTransactionCodeId>10</DepositTransactionCodeId> </DBAPetType> <DBAPetType> <PetTypeId>1</PetTypeId> <DBAPetTypeId>1</DBAPetTypeId> <DBAPetTypeDesc>sample string 1</DBAPetTypeDesc> <MonthlyRent>2</MonthlyRent> <NonRefundableFee>3</NonRefundableFee> <DepositAmount>4</DepositAmount> <CanChargeMonthlyRent>true</CanChargeMonthlyRent> <CanChargeNonRefundableOneTimeFee>true</CanChargeNonRefundableOneTimeFee> <CanChargeDeposit>true</CanChargeDeposit> <MonthlyRentTransactionCodeId>8</MonthlyRentTransactionCodeId> <OneTimeFeeTransactionCodeId>9</OneTimeFeeTransactionCodeId> <DepositTransactionCodeId>10</DepositTransactionCodeId> </DBAPetType> </ArrayOfDBAPetType>