POST Core/GetPetVendors
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedRequestName | Description | Type | Additional information |
---|---|---|---|
SecurityKey | string |
None. |
|
PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SecurityKey": "sample string 1", "PolicyId": 2 }
application/xml, text/xml
Sample:
<SecurityTokenVerifiedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>2</PolicyId> <SecurityKey>sample string 1</SecurityKey> </SecurityTokenVerifiedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfListOfPetVendorName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | Collection of PetVendor |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": [ { "VendorId": 1, "PreferredVendorId": 2, "Name": "sample string 3", "TypeId": 4, "Type": "sample string 5", "Latitude": 6.0, "Longitude": 7.0, "ConsultationFee": 8.0, "FirstVacinationFee": 9.0, "WeekdayTradingHours": "sample string 10", "WeekendTradingHours": "sample string 11", "TelephoneNumber": "sample string 12", "Website": "sample string 13", "Address": "sample string 14" }, { "VendorId": 1, "PreferredVendorId": 2, "Name": "sample string 3", "TypeId": 4, "Type": "sample string 5", "Latitude": 6.0, "Longitude": 7.0, "ConsultationFee": 8.0, "FirstVacinationFee": 9.0, "WeekdayTradingHours": "sample string 10", "WeekendTradingHours": "sample string 11", "TelephoneNumber": "sample string 12", "Website": "sample string 13", "Address": "sample string 14" } ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfPetVendorlP_S41WJs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <d2p1:PetVendor> <d2p1:Address>sample string 14</d2p1:Address> <d2p1:ConsultationFee>8</d2p1:ConsultationFee> <d2p1:FirstVacinationFee>9</d2p1:FirstVacinationFee> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:Longitude>7</d2p1:Longitude> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:PreferredVendorId>2</d2p1:PreferredVendorId> <d2p1:TelephoneNumber>sample string 12</d2p1:TelephoneNumber> <d2p1:Type>sample string 5</d2p1:Type> <d2p1:TypeId>4</d2p1:TypeId> <d2p1:VendorId>1</d2p1:VendorId> <d2p1:Website>sample string 13</d2p1:Website> <d2p1:WeekdayTradingHours>sample string 10</d2p1:WeekdayTradingHours> <d2p1:WeekendTradingHours>sample string 11</d2p1:WeekendTradingHours> </d2p1:PetVendor> <d2p1:PetVendor> <d2p1:Address>sample string 14</d2p1:Address> <d2p1:ConsultationFee>8</d2p1:ConsultationFee> <d2p1:FirstVacinationFee>9</d2p1:FirstVacinationFee> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:Longitude>7</d2p1:Longitude> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:PreferredVendorId>2</d2p1:PreferredVendorId> <d2p1:TelephoneNumber>sample string 12</d2p1:TelephoneNumber> <d2p1:Type>sample string 5</d2p1:Type> <d2p1:TypeId>4</d2p1:TypeId> <d2p1:VendorId>1</d2p1:VendorId> <d2p1:Website>sample string 13</d2p1:Website> <d2p1:WeekdayTradingHours>sample string 10</d2p1:WeekdayTradingHours> <d2p1:WeekendTradingHours>sample string 11</d2p1:WeekendTradingHours> </d2p1:PetVendor> </Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfArrayOfPetVendorlP_S41WJs>