GET homepagedata?contractID={contractID}
Gets message for homepage top container
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contractID |
ContractID of current user |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
HomePageData| Name | Description | Type | Additional information |
|---|---|---|---|
| HomePageTopContainer | HomePageTopContainer |
None. |
|
| HomePageCenterContainer | HomePageCenterContainer |
None. |
Response Formats
application/json, text/json
Sample:
{
"HomePageTopContainer": {
"Message": "sample string 1"
},
"HomePageCenterContainer": {
"HomePageItems": [
{
"Text": "sample string 1",
"Value": "sample string 2"
},
{
"Text": "sample string 1",
"Value": "sample string 2"
}
]
}
}
application/xml, text/xml
Sample:
<HomePageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenseWebAPI.Models">
<HomePageCenterContainer>
<HomePageItems>
<HomePageItem>
<Text>sample string 1</Text>
<Value>sample string 2</Value>
</HomePageItem>
<HomePageItem>
<Text>sample string 1</Text>
<Value>sample string 2</Value>
</HomePageItem>
</HomePageItems>
</HomePageCenterContainer>
<HomePageTopContainer>
<Message>sample string 1</Message>
</HomePageTopContainer>
</HomePageData>