POST api/OrganizationType/GetOrganizationModulesByUserId
Request Information
URI Parameters
None.
Body Parameters
OrganizationTypeItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalId | integer |
None. |
|
| UserId | integer |
None. |
|
| Name | string |
None. |
|
| Configuration | Collection of OrganizationTypeConfigurationViewModel |
None. |
|
| ReturnStatus | boolean |
None. |
|
| ReturnMessage | Collection of string |
None. |
|
| ValidationErrors | Dictionary of Object [key] and Object [value] |
None. |
|
| TotalPages | integer |
None. |
|
| TotalRows | integer |
None. |
|
| PageSize | integer |
None. |
|
| IsAuthenticated | boolean |
None. |
|
| SortExpression | string |
None. |
|
| SortDirection | string |
None. |
|
| CurrentPageNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"portalId": 1,
"userId": 2,
"name": "sample string 3",
"configuration": [
{
"section": 1,
"key": "sample string 2",
"value": "sample string 3"
},
{
"section": 1,
"key": "sample string 2",
"value": "sample string 3"
}
],
"returnStatus": true,
"returnMessage": [
"sample string 1",
"sample string 2"
],
"validationErrors": {
"system.Object": {}
},
"totalPages": 5,
"totalRows": 6,
"pageSize": 7,
"isAuthenticated": true,
"sortExpression": "sample string 9",
"sortDirection": "sample string 10",
"currentPageNumber": 11
}
application/xml, text/xml
Sample:
<OrganizationTypeItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Web.WebApi.ViewModels">
<CurrentPageNumber xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">11</CurrentPageNumber>
<IsAuthenticated xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">true</IsAuthenticated>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">7</PageSize>
<ReturnMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ReturnMessage>
<ReturnStatus xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">true</ReturnStatus>
<SortDirection xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 10</SortDirection>
<SortExpression xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 9</SortExpression>
<TotalPages xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">5</TotalPages>
<TotalRows xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">6</TotalRows>
<ValidationErrors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
</ValidationErrors>
<Configuration>
<OrganizationTypeConfigurationViewModel>
<Key>sample string 2</Key>
<Section>1</Section>
<Value>sample string 3</Value>
</OrganizationTypeConfigurationViewModel>
<OrganizationTypeConfigurationViewModel>
<Key>sample string 2</Key>
<Section>1</Section>
<Value>sample string 3</Value>
</OrganizationTypeConfigurationViewModel>
</Configuration>
<Name>sample string 3</Name>
<PortalId>1</PortalId>
<UserId>2</UserId>
</OrganizationTypeItemViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |