GET api/Module?CustomerId={CustomerId}&type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| type | string |
Default value is P |
Body Parameters
None.
Response Information
Resource Description
Collection of ModuleDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Color | string |
None. |
|
| Image | string |
None. |
|
| ModuleName | string |
None. |
|
| ModuleId | integer |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerId": 1,
"Color": "sample string 2",
"Image": "sample string 3",
"ModuleName": "sample string 4",
"ModuleId": 5,
"Status": 6
},
{
"CustomerId": 1,
"Color": "sample string 2",
"Image": "sample string 3",
"ModuleName": "sample string 4",
"ModuleId": 5,
"Status": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfModuleDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScholaMobileAppServer.Models.ApiModel">
<ModuleDetails>
<Color>sample string 2</Color>
<CustomerId>1</CustomerId>
<Image>sample string 3</Image>
<ModuleId>5</ModuleId>
<ModuleName>sample string 4</ModuleName>
<Status>6</Status>
</ModuleDetails>
<ModuleDetails>
<Color>sample string 2</Color>
<CustomerId>1</CustomerId>
<Image>sample string 3</Image>
<ModuleId>5</ModuleId>
<ModuleName>sample string 4</ModuleName>
<Status>6</Status>
</ModuleDetails>
</ArrayOfModuleDetails>