ModuleManagerWebService
Click here for a complete list of operations.
AddUserModule
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Modules/Pages/Services/ModuleManagerWebService.asmx HTTP/1.1 Host: bishwojyoti.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/AddUserModule" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddUserModule xmlns="http://tempuri.org/"> <UserModule> <UserModuleID>int</UserModuleID> <ModuleDefID>int</ModuleDefID> <UserModuleTitle>string</UserModuleTitle> <AllPages>boolean</AllPages> <ShowInPages>string</ShowInPages> <InheritViewPermissions>boolean</InheritViewPermissions> <SEOName>string</SEOName> <PageID>int</PageID> <PaneName>string</PaneName> <ModuleOrder>int</ModuleOrder> <CacheTime>string</CacheTime> <Alignment>string</Alignment> <Color>string</Color> <conFile>string</conFile> <Visibility>boolean</Visibility> <IsActive>boolean</IsActive> <AddedOn>dateTime</AddedOn> <PortalID>int</PortalID> <AddedBy>string</AddedBy> <ErrorCode>int</ErrorCode> <PageName>string</PageName> <IsHandheld>boolean</IsHandheld> <FriendlyName>string</FriendlyName> <HeaderText>string</HeaderText> <ShowHeaderText>boolean</ShowHeaderText> <ControlsCount>int</ControlsCount> <LSTUserModulePermission> <ModulePermissionInfo> <PermissionID>int</PermissionID> <RoleID>string</RoleID> <UserID>int</UserID> <UserName>string</UserName> <AllowAccess>boolean</AllowAccess> </ModulePermissionInfo> <ModulePermissionInfo> <PermissionID>int</PermissionID> <RoleID>string</RoleID> <UserID>int</UserID> <UserName>string</UserName> <AllowAccess>boolean</AllowAccess> </ModulePermissionInfo> </LSTUserModulePermission> <IsInAdmin>boolean</IsInAdmin> <SuffixClass>string</SuffixClass> </UserModule> <portalID>int</portalID> <userName>string</userName> <userModuleID>int</userModuleID> <secureToken>string</secureToken> </AddUserModule> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddUserModuleResponse xmlns="http://tempuri.org/"> <AddUserModuleResult>string</AddUserModuleResult> </AddUserModuleResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Modules/Pages/Services/ModuleManagerWebService.asmx HTTP/1.1 Host: bishwojyoti.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddUserModule xmlns="http://tempuri.org/"> <UserModule> <UserModuleID>int</UserModuleID> <ModuleDefID>int</ModuleDefID> <UserModuleTitle>string</UserModuleTitle> <AllPages>boolean</AllPages> <ShowInPages>string</ShowInPages> <InheritViewPermissions>boolean</InheritViewPermissions> <SEOName>string</SEOName> <PageID>int</PageID> <PaneName>string</PaneName> <ModuleOrder>int</ModuleOrder> <CacheTime>string</CacheTime> <Alignment>string</Alignment> <Color>string</Color> <conFile>string</conFile> <Visibility>boolean</Visibility> <IsActive>boolean</IsActive> <AddedOn>dateTime</AddedOn> <PortalID>int</PortalID> <AddedBy>string</AddedBy> <ErrorCode>int</ErrorCode> <PageName>string</PageName> <IsHandheld>boolean</IsHandheld> <FriendlyName>string</FriendlyName> <HeaderText>string</HeaderText> <ShowHeaderText>boolean</ShowHeaderText> <ControlsCount>int</ControlsCount> <LSTUserModulePermission> <ModulePermissionInfo> <PermissionID>int</PermissionID> <RoleID>string</RoleID> <UserID>int</UserID> <UserName>string</UserName> <AllowAccess>boolean</AllowAccess> </ModulePermissionInfo> <ModulePermissionInfo> <PermissionID>int</PermissionID> <RoleID>string</RoleID> <UserID>int</UserID> <UserName>string</UserName> <AllowAccess>boolean</AllowAccess> </ModulePermissionInfo> </LSTUserModulePermission> <IsInAdmin>boolean</IsInAdmin> <SuffixClass>string</SuffixClass> </UserModule> <portalID>int</portalID> <userName>string</userName> <userModuleID>int</userModuleID> <secureToken>string</secureToken> </AddUserModule> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddUserModuleResponse xmlns="http://tempuri.org/"> <AddUserModuleResult>string</AddUserModuleResult> </AddUserModuleResponse> </soap12:Body> </soap12:Envelope>