GET api/applicant/GetCampaignsBySubCategory?subCategory={subCategory}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subCategory | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CampaignResponseName | Description | Type | Additional information |
---|---|---|---|
ar | Collection of CampaignViewModel_V |
None. |
|
en | Collection of CampaignViewModel_V |
None. |
Response Formats
application/json, text/json
Sample:
{ "ar": [ { "id": "sample string 1", "code": "sample string 2", "name": "sample string 3", "regionName": "sample string 4", "centerName": "sample string 5", "location": "sample string 6", "startDate": "sample string 7", "endDate": "sample string 8", "StartGMT": "2024-11-05T14:36:37.5932577+04:00", "EndGMT": "2024-11-05T14:36:37.5932577+04:00", "isVirtual": true, "MeetingUrl": "sample string 9", "dateEn": "sample string 10", "timeEn": "sample string 11", "dateAr": "sample string 12", "timeAr": "sample string 13" }, { "id": "sample string 1", "code": "sample string 2", "name": "sample string 3", "regionName": "sample string 4", "centerName": "sample string 5", "location": "sample string 6", "startDate": "sample string 7", "endDate": "sample string 8", "StartGMT": "2024-11-05T14:36:37.5932577+04:00", "EndGMT": "2024-11-05T14:36:37.5932577+04:00", "isVirtual": true, "MeetingUrl": "sample string 9", "dateEn": "sample string 10", "timeEn": "sample string 11", "dateAr": "sample string 12", "timeAr": "sample string 13" } ], "en": [ { "id": "sample string 1", "code": "sample string 2", "name": "sample string 3", "regionName": "sample string 4", "centerName": "sample string 5", "location": "sample string 6", "startDate": "sample string 7", "endDate": "sample string 8", "StartGMT": "2024-11-05T14:36:37.5932577+04:00", "EndGMT": "2024-11-05T14:36:37.5932577+04:00", "isVirtual": true, "MeetingUrl": "sample string 9", "dateEn": "sample string 10", "timeEn": "sample string 11", "dateAr": "sample string 12", "timeAr": "sample string 13" }, { "id": "sample string 1", "code": "sample string 2", "name": "sample string 3", "regionName": "sample string 4", "centerName": "sample string 5", "location": "sample string 6", "startDate": "sample string 7", "endDate": "sample string 8", "StartGMT": "2024-11-05T14:36:37.5932577+04:00", "EndGMT": "2024-11-05T14:36:37.5932577+04:00", "isVirtual": true, "MeetingUrl": "sample string 9", "dateEn": "sample string 10", "timeEn": "sample string 11", "dateAr": "sample string 12", "timeAr": "sample string 13" } ] }
application/xml, text/xml
Sample:
<CampaignResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models"> <ar> <CampaignViewModel_V> <EndGMT>2024-11-05T14:36:37.5932577+04:00</EndGMT> <MeetingUrl>sample string 9</MeetingUrl> <StartGMT>2024-11-05T14:36:37.5932577+04:00</StartGMT> <centerName>sample string 5</centerName> <code>sample string 2</code> <dateAr>sample string 12</dateAr> <dateEn>sample string 10</dateEn> <endDate>sample string 8</endDate> <id>sample string 1</id> <isVirtual>true</isVirtual> <location>sample string 6</location> <name>sample string 3</name> <regionName>sample string 4</regionName> <startDate>sample string 7</startDate> <timeAr>sample string 13</timeAr> <timeEn>sample string 11</timeEn> </CampaignViewModel_V> <CampaignViewModel_V> <EndGMT>2024-11-05T14:36:37.5932577+04:00</EndGMT> <MeetingUrl>sample string 9</MeetingUrl> <StartGMT>2024-11-05T14:36:37.5932577+04:00</StartGMT> <centerName>sample string 5</centerName> <code>sample string 2</code> <dateAr>sample string 12</dateAr> <dateEn>sample string 10</dateEn> <endDate>sample string 8</endDate> <id>sample string 1</id> <isVirtual>true</isVirtual> <location>sample string 6</location> <name>sample string 3</name> <regionName>sample string 4</regionName> <startDate>sample string 7</startDate> <timeAr>sample string 13</timeAr> <timeEn>sample string 11</timeEn> </CampaignViewModel_V> </ar> <en> <CampaignViewModel_V> <EndGMT>2024-11-05T14:36:37.5932577+04:00</EndGMT> <MeetingUrl>sample string 9</MeetingUrl> <StartGMT>2024-11-05T14:36:37.5932577+04:00</StartGMT> <centerName>sample string 5</centerName> <code>sample string 2</code> <dateAr>sample string 12</dateAr> <dateEn>sample string 10</dateEn> <endDate>sample string 8</endDate> <id>sample string 1</id> <isVirtual>true</isVirtual> <location>sample string 6</location> <name>sample string 3</name> <regionName>sample string 4</regionName> <startDate>sample string 7</startDate> <timeAr>sample string 13</timeAr> <timeEn>sample string 11</timeEn> </CampaignViewModel_V> <CampaignViewModel_V> <EndGMT>2024-11-05T14:36:37.5932577+04:00</EndGMT> <MeetingUrl>sample string 9</MeetingUrl> <StartGMT>2024-11-05T14:36:37.5932577+04:00</StartGMT> <centerName>sample string 5</centerName> <code>sample string 2</code> <dateAr>sample string 12</dateAr> <dateEn>sample string 10</dateEn> <endDate>sample string 8</endDate> <id>sample string 1</id> <isVirtual>true</isVirtual> <location>sample string 6</location> <name>sample string 3</name> <regionName>sample string 4</regionName> <startDate>sample string 7</startDate> <timeAr>sample string 13</timeAr> <timeEn>sample string 11</timeEn> </CampaignViewModel_V> </en> </CampaignResponse>