GET api/Promotion/All
Request Information
URI Parameters
None.
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": "c4c608de-58da-4091-8c5c-7e1394807aab", "Name": "sample string 2", "TenantId": "0857458b-b744-44f6-a6c3-2d165c1885ed", "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-26T23:25:30.9046626+07:00", "DateEnd": "2023-09-26T23:25:30.9046626+07:00", "CategoryId": "16dfd853-8cc6-4af5-a635-bf9d0116eea2", "CategoryName": "sample string 10", "PaymentId": "53707071-9537-4568-a220-e8a0ff3adf6c", "PaymentName": "sample string 11" }, { "Id": "c4c608de-58da-4091-8c5c-7e1394807aab", "Name": "sample string 2", "TenantId": "0857458b-b744-44f6-a6c3-2d165c1885ed", "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-26T23:25:30.9046626+07:00", "DateEnd": "2023-09-26T23:25:30.9046626+07:00", "CategoryId": "16dfd853-8cc6-4af5-a635-bf9d0116eea2", "CategoryName": "sample string 10", "PaymentId": "53707071-9537-4568-a220-e8a0ff3adf6c", "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>16dfd853-8cc6-4af5-a635-bf9d0116eea2</CategoryId> <CategoryName>sample string 10</CategoryName> <ClientName>sample string 6</ClientName> <DateEnd>2023-09-26T23:25:30.9046626+07:00</DateEnd> <DateStart>2023-09-26T23:25:30.9046626+07:00</DateStart> <Id>c4c608de-58da-4091-8c5c-7e1394807aab</Id> <ImageUrl1>sample string 8</ImageUrl1> <ImageUrl2>sample string 9</ImageUrl2> <Info>sample string 7</Info> <Name>sample string 2</Name> <PaymentId>53707071-9537-4568-a220-e8a0ff3adf6c</PaymentId> <PaymentName>sample string 11</PaymentName> <PropertyCode>sample string 4</PropertyCode> <PropertyName>sample string 5</PropertyName> <TenantId>0857458b-b744-44f6-a6c3-2d165c1885ed</TenantId> <TenantName>sample string 3</TenantName> </PromoBindingModels> <PromoBindingModels> <CategoryId>16dfd853-8cc6-4af5-a635-bf9d0116eea2</CategoryId> <CategoryName>sample string 10</CategoryName> <ClientName>sample string 6</ClientName> <DateEnd>2023-09-26T23:25:30.9046626+07:00</DateEnd> <DateStart>2023-09-26T23:25:30.9046626+07:00</DateStart> <Id>c4c608de-58da-4091-8c5c-7e1394807aab</Id> <ImageUrl1>sample string 8</ImageUrl1> <ImageUrl2>sample string 9</ImageUrl2> <Info>sample string 7</Info> <Name>sample string 2</Name> <PaymentId>53707071-9537-4568-a220-e8a0ff3adf6c</PaymentId> <PaymentName>sample string 11</PaymentName> <PropertyCode>sample string 4</PropertyCode> <PropertyName>sample string 5</PropertyName> <TenantId>0857458b-b744-44f6-a6c3-2d165c1885ed</TenantId> <TenantName>sample string 3</TenantName> </PromoBindingModels> </ArrayOfPromoBindingModels>