GET api/Frontend/GetSponsors
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfSponsorName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
SuccessMessage | string |
None. |
|
Result | Collection of Sponsor |
None. |
|
StatusCode | HttpStatusCode |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorMessage": "sample string 2", "SuccessMessage": "sample string 3", "Result": [ { "Name": "sample string 1", "Url": "sample string 2", "Description": "sample string 3", "ShowOnFrontPage": true, "Status": 0, "Location": "sample string 5", "ImageUrl": "sample string 6", "SponsorImage": { "Id": 1, "Guid": "1f509453-3242-4c60-8b71-e9a3f195c5e9", "RawImage": "QEA=", "FileType": "sample string 2", "FileName": "sample string 3", "Ratio": 4.1, "UploadedDate": "2024-03-29T14:02:36.3905506+01:00", "ImageUrl": "sample string 6", "Afdeling": 0, "Type": 0, "Title": "sample string 7", "Description": "sample string 8", "FrontText": "sample string 9", "FrontTextColor": "sample string 10", "FrontBackgroundColor": "sample string 11", "ShowOnFrontPage": true }, "Id": 7, "Created": "2024-03-29T14:02:36.3905506+01:00", "CreatedBy": "sample string 8", "Modified": "2024-03-29T14:02:36.3905506+01:00", "ModifiedBy": "sample string 9" }, { "Name": "sample string 1", "Url": "sample string 2", "Description": "sample string 3", "ShowOnFrontPage": true, "Status": 0, "Location": "sample string 5", "ImageUrl": "sample string 6", "SponsorImage": { "Id": 1, "Guid": "1f509453-3242-4c60-8b71-e9a3f195c5e9", "RawImage": "QEA=", "FileType": "sample string 2", "FileName": "sample string 3", "Ratio": 4.1, "UploadedDate": "2024-03-29T14:02:36.3905506+01:00", "ImageUrl": "sample string 6", "Afdeling": 0, "Type": 0, "Title": "sample string 7", "Description": "sample string 8", "FrontText": "sample string 9", "FrontTextColor": "sample string 10", "FrontBackgroundColor": "sample string 11", "ShowOnFrontPage": true }, "Id": 7, "Created": "2024-03-29T14:02:36.3905506+01:00", "CreatedBy": "sample string 8", "Modified": "2024-03-29T14:02:36.3905506+01:00", "ModifiedBy": "sample string 9" } ], "StatusCode": 100 }
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfSponsorYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result> <Sponsor> <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2024-03-29T14:02:36.3905506+01:00</Created> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</CreatedBy> <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">7</Id> <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2024-03-29T14:02:36.3905506+01:00</Modified> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 9</ModifiedBy> <Description>sample string 3</Description> <ImageUrl>sample string 6</ImageUrl> <Location>sample string 5</Location> <Name>sample string 1</Name> <ShowOnFrontPage>true</ShowOnFrontPage> <SponsorImage> <Afdeling>Håndbold</Afdeling> <Description>sample string 8</Description> <FileName>sample string 3</FileName> <FileType>sample string 2</FileType> <FrontBackgroundColor>sample string 11</FrontBackgroundColor> <FrontText>sample string 9</FrontText> <FrontTextColor>sample string 10</FrontTextColor> <Guid>1f509453-3242-4c60-8b71-e9a3f195c5e9</Guid> <Id>1</Id> <ImageUrl>sample string 6</ImageUrl> <Ratio>4.1</Ratio> <RawImage>QEA=</RawImage> <ShowOnFrontPage>true</ShowOnFrontPage> <Title>sample string 7</Title> <Type>News</Type> <UploadedDate>2024-03-29T14:02:36.3905506+01:00</UploadedDate> </SponsorImage> <Status>Aktiv</Status> <Url>sample string 2</Url> </Sponsor> <Sponsor> <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2024-03-29T14:02:36.3905506+01:00</Created> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</CreatedBy> <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">7</Id> <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2024-03-29T14:02:36.3905506+01:00</Modified> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 9</ModifiedBy> <Description>sample string 3</Description> <ImageUrl>sample string 6</ImageUrl> <Location>sample string 5</Location> <Name>sample string 1</Name> <ShowOnFrontPage>true</ShowOnFrontPage> <SponsorImage> <Afdeling>Håndbold</Afdeling> <Description>sample string 8</Description> <FileName>sample string 3</FileName> <FileType>sample string 2</FileType> <FrontBackgroundColor>sample string 11</FrontBackgroundColor> <FrontText>sample string 9</FrontText> <FrontTextColor>sample string 10</FrontTextColor> <Guid>1f509453-3242-4c60-8b71-e9a3f195c5e9</Guid> <Id>1</Id> <ImageUrl>sample string 6</ImageUrl> <Ratio>4.1</Ratio> <RawImage>QEA=</RawImage> <ShowOnFrontPage>true</ShowOnFrontPage> <Title>sample string 7</Title> <Type>News</Type> <UploadedDate>2024-03-29T14:02:36.3905506+01:00</UploadedDate> </SponsorImage> <Status>Aktiv</Status> <Url>sample string 2</Url> </Sponsor> </Result> <StatusCode>Continue</StatusCode> <Success>true</Success> <SuccessMessage>sample string 3</SuccessMessage> </ServiceResultOfArrayOfSponsorYgFqSxnr>