GET adventures/adventurers/permits?startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
startDate | date |
Required |
|
endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PermitHolderName | Description | Type | Additional information |
---|---|---|---|
Adventurer | Adventurer |
None. |
|
Permit | Permit |
None. |
Response Formats
application/json, text/json
Sample:
[ { "adventurer": { "contactNo": "sample string 1", "emailAddress": "sample string 2", "emergencyContactNo": "sample string 3", "id": 4, "fullName": "sample string 5", "rsaId": "sample string 6", "uid": "sample string 7" }, "permit": { "id": 1, "pax": 2, "permitTypeId": 3, "validFrom": "2024-11-28T06:34:39.5750282+00:00", "validTo": "2024-11-28T06:34:39.5750282+00:00" } }, { "adventurer": { "contactNo": "sample string 1", "emailAddress": "sample string 2", "emergencyContactNo": "sample string 3", "id": 4, "fullName": "sample string 5", "rsaId": "sample string 6", "uid": "sample string 7" }, "permit": { "id": 1, "pax": 2, "permitTypeId": 3, "validFrom": "2024-11-28T06:34:39.5750282+00:00", "validTo": "2024-11-28T06:34:39.5750282+00:00" } } ]
application/xml, text/xml
Sample:
<ArrayOfPermitHolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myPortalApi.Models.Adventures"> <PermitHolder> <Adventurer> <ContactNo>sample string 1</ContactNo> <EmailAddress>sample string 2</EmailAddress> <EmergencyContactNo>sample string 3</EmergencyContactNo> <FullName>sample string 5</FullName> <Id>4</Id> <RsaId>sample string 6</RsaId> <Uid>sample string 7</Uid> </Adventurer> <Permit> <Id>1</Id> <Pax>2</Pax> <PermitTypeId>3</PermitTypeId> <ValidFrom>2024-11-28T06:34:39.5750282+00:00</ValidFrom> <ValidTo>2024-11-28T06:34:39.5750282+00:00</ValidTo> </Permit> </PermitHolder> <PermitHolder> <Adventurer> <ContactNo>sample string 1</ContactNo> <EmailAddress>sample string 2</EmailAddress> <EmergencyContactNo>sample string 3</EmergencyContactNo> <FullName>sample string 5</FullName> <Id>4</Id> <RsaId>sample string 6</RsaId> <Uid>sample string 7</Uid> </Adventurer> <Permit> <Id>1</Id> <Pax>2</Pax> <PermitTypeId>3</PermitTypeId> <ValidFrom>2024-11-28T06:34:39.5750282+00:00</ValidFrom> <ValidTo>2024-11-28T06:34:39.5750282+00:00</ValidTo> </Permit> </PermitHolder> </ArrayOfPermitHolder>