GET api/partners/v1/customers/search?searchtext={searchtext}&propertyid={propertyid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| searchtext | string |
Required |
|
| propertyid | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of PartnerCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerName | string |
None. |
|
| CustomerSurname | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| CustomerFolderId | integer |
None. |
|
| FolderAlias | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerTypeId | integer |
None. |
|
| PropertyId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| PMSProperty | string |
None. |
|
| PMSRoom | string |
None. |
|
| PMSGuestName | string |
None. |
|
| PMSAccount | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerName": "sample string 1",
"CustomerSurname": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"CustomerFolderId": 5,
"FolderAlias": "sample string 6",
"CustomerId": 7,
"CustomerTypeId": 8,
"PropertyId": 9,
"LanguageId": 10,
"PMSProperty": "sample string 11",
"PMSRoom": "sample string 12",
"PMSGuestName": "sample string 13",
"PMSAccount": "sample string 14"
},
{
"CustomerName": "sample string 1",
"CustomerSurname": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"CustomerFolderId": 5,
"FolderAlias": "sample string 6",
"CustomerId": 7,
"CustomerTypeId": 8,
"PropertyId": 9,
"LanguageId": 10,
"PMSProperty": "sample string 11",
"PMSRoom": "sample string 12",
"PMSGuestName": "sample string 13",
"PMSAccount": "sample string 14"
}
]