GET api/LatestOffers/GetLatestOffersOfIndex?languageType={languageType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
languageType | CmsLanguage |
Required |
Body Parameters
None.
Response Information
Resource Description
LatestOffersResponseName | Description | Type | Additional information |
---|---|---|---|
LatestOffersList | Collection of LatestOffersModel |
None. |
|
TotalNumber | integer |
None. |
|
ResponseCode | ResponseCode |
None. |
|
AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "LatestOffersList": [ { "LatestOffersID": 1, "Subject": "sample string 2", "Tabs": [ "sample string 1", "sample string 2" ], "CoverImage": "sample string 3", "Body": "sample string 4", "PlainBody": "sample string 5", "Address": "sample string 6", "Area": "sample string 7", "VideoTitle": "sample string 8", "VideoImage": "sample string 9", "VideoLink": "sample string 10", "PublishDate": "2024-12-21T21:19:37.7943925+08:00", "PublishDateTime": "sample string 12", "URLFreeText": "sample string 13" }, { "LatestOffersID": 1, "Subject": "sample string 2", "Tabs": [ "sample string 1", "sample string 2" ], "CoverImage": "sample string 3", "Body": "sample string 4", "PlainBody": "sample string 5", "Address": "sample string 6", "Area": "sample string 7", "VideoTitle": "sample string 8", "VideoImage": "sample string 9", "VideoLink": "sample string 10", "PublishDate": "2024-12-21T21:19:37.7943925+08:00", "PublishDateTime": "sample string 12", "URLFreeText": "sample string 13" } ], "TotalNumber": 1, "ResponseCode": 1, "AlertMessage": "sample string 2" }
text/xml
Sample:
<LatestOffersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models"> <AlertMessage>sample string 2</AlertMessage> <ResponseCode>Success</ResponseCode> <LatestOffersList> <LatestOffersModel> <Address>sample string 6</Address> <Area>sample string 7</Area> <Body>sample string 4</Body> <CoverImage>sample string 3</CoverImage> <LatestOffersID>1</LatestOffersID> <PlainBody>sample string 5</PlainBody> <PublishDate>2024-12-21T21:19:37.7943925+08:00</PublishDate> <PublishDateTime>sample string 12</PublishDateTime> <Subject>sample string 2</Subject> <Tabs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tabs> <URLFreeText>sample string 13</URLFreeText> <VideoImage>sample string 9</VideoImage> <VideoLink>sample string 10</VideoLink> <VideoTitle>sample string 8</VideoTitle> </LatestOffersModel> <LatestOffersModel> <Address>sample string 6</Address> <Area>sample string 7</Area> <Body>sample string 4</Body> <CoverImage>sample string 3</CoverImage> <LatestOffersID>1</LatestOffersID> <PlainBody>sample string 5</PlainBody> <PublishDate>2024-12-21T21:19:37.7943925+08:00</PublishDate> <PublishDateTime>sample string 12</PublishDateTime> <Subject>sample string 2</Subject> <Tabs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tabs> <URLFreeText>sample string 13</URLFreeText> <VideoImage>sample string 9</VideoImage> <VideoLink>sample string 10</VideoLink> <VideoTitle>sample string 8</VideoTitle> </LatestOffersModel> </LatestOffersList> <TotalNumber>1</TotalNumber> </LatestOffersResponse>