GET api/Promotion/Tenant?Id={Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PromoBindingModelsName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
Required |
|
Name | string |
Required |
|
TenantId | globally unique identifier |
Required |
|
TenantName | string |
String length: inclusive between 0 and 60 |
|
PropertyCode | string |
None. |
|
PropertyName | string |
None. |
|
ClientName | string |
None. |
|
Info | string |
None. |
|
ImageUrl1 | string |
None. |
|
ImageUrl2 | string |
None. |
|
DateStart | date |
None. |
|
DateEnd | date |
None. |
|
CategoryId | globally unique identifier |
None. |
|
CategoryName | string |
String length: inclusive between 0 and 60 |
|
PaymentId | globally unique identifier |
None. |
|
PaymentName | string |
String length: inclusive between 0 and 60 |
Response Formats
application/json, text/json
Sample:
[ { "Id": "0d8b2590-dfc6-47c6-b191-94ee2fec1e36", "Name": "sample string 2", "TenantId": "3acfca5d-a590-42bc-b368-699e88c8996a", "TenantName": "sample string 3", "PropertyCode": "sample string 4", "PropertyName": "sample string 5", "ClientName": "sample string 6", "Info": "sample string 7", "ImageUrl1": "sample string 8", "ImageUrl2": "sample string 9", "DateStart": "2023-09-27T00:06:11.5380795+07:00", "DateEnd": "2023-09-27T00:06:11.5380795+07:00", "CategoryId": "c4052a84-84d9-4cc5-bb6b-2505ffd6e4a7", "CategoryName": "sample string 10", "PaymentId": "3058a514-ad1b-42e5-a85d-a8db58514e19", "PaymentName": "sample string 11" }, { "Id": "0d8b2590-dfc6-47c6-b191-94ee2fec1e36", "Name": "sample string 2", "TenantId": "3acfca5d-a590-42bc-b368-699e88c8996a", "TenantName": "sample string 3", "PropertyCode": "sample string 4", "PropertyName": "sample string 5", "ClientName": "sample string 6", "Info": "sample string 7", "ImageUrl1": "sample string 8", "ImageUrl2": "sample string 9", "DateStart": "2023-09-27T00:06:11.5380795+07:00", "DateEnd": "2023-09-27T00:06:11.5380795+07:00", "CategoryId": "c4052a84-84d9-4cc5-bb6b-2505ffd6e4a7", "CategoryName": "sample string 10", "PaymentId": "3058a514-ad1b-42e5-a85d-a8db58514e19", "PaymentName": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfPromoBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API4WEB.Models"> <PromoBindingModels> <CategoryId>c4052a84-84d9-4cc5-bb6b-2505ffd6e4a7</CategoryId> <CategoryName>sample string 10</CategoryName> <ClientName>sample string 6</ClientName> <DateEnd>2023-09-27T00:06:11.5380795+07:00</DateEnd> <DateStart>2023-09-27T00:06:11.5380795+07:00</DateStart> <Id>0d8b2590-dfc6-47c6-b191-94ee2fec1e36</Id> <ImageUrl1>sample string 8</ImageUrl1> <ImageUrl2>sample string 9</ImageUrl2> <Info>sample string 7</Info> <Name>sample string 2</Name> <PaymentId>3058a514-ad1b-42e5-a85d-a8db58514e19</PaymentId> <PaymentName>sample string 11</PaymentName> <PropertyCode>sample string 4</PropertyCode> <PropertyName>sample string 5</PropertyName> <TenantId>3acfca5d-a590-42bc-b368-699e88c8996a</TenantId> <TenantName>sample string 3</TenantName> </PromoBindingModels> <PromoBindingModels> <CategoryId>c4052a84-84d9-4cc5-bb6b-2505ffd6e4a7</CategoryId> <CategoryName>sample string 10</CategoryName> <ClientName>sample string 6</ClientName> <DateEnd>2023-09-27T00:06:11.5380795+07:00</DateEnd> <DateStart>2023-09-27T00:06:11.5380795+07:00</DateStart> <Id>0d8b2590-dfc6-47c6-b191-94ee2fec1e36</Id> <ImageUrl1>sample string 8</ImageUrl1> <ImageUrl2>sample string 9</ImageUrl2> <Info>sample string 7</Info> <Name>sample string 2</Name> <PaymentId>3058a514-ad1b-42e5-a85d-a8db58514e19</PaymentId> <PaymentName>sample string 11</PaymentName> <PropertyCode>sample string 4</PropertyCode> <PropertyName>sample string 5</PropertyName> <TenantId>3acfca5d-a590-42bc-b368-699e88c8996a</TenantId> <TenantName>sample string 3</TenantName> </PromoBindingModels> </ArrayOfPromoBindingModels>