POST api/InvestNow/RoleAssign?source={source}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| source | string |
Required |
Body Parameters
RoleAssignRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EXTSESSIONID | string |
None. |
|
| TRANSACTIONDATE | string |
None. |
|
| REFERENCENO | string |
None. |
|
| CustomServiceType | string |
None. |
|
| ROLEID | string |
None. |
|
| CLIENTCODE | string |
None. |
|
| EXTSYSTEMID | string |
None. |
|
| TXNID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EXTSESSIONID": "sample string 1",
"TRANSACTIONDATE": "sample string 2",
"REFERENCENO": "sample string 3",
"CustomServiceType": "sample string 4",
"ROLEID": "sample string 5",
"CLIENTCODE": "sample string 6",
"EXTSYSTEMID": "sample string 7",
"TXNID": "sample string 8"
}
application/xml, text/xml
Sample:
<RoleAssignRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HdfcApiWrapper.Models"> <CLIENTCODE>sample string 6</CLIENTCODE> <CustomServiceType>sample string 4</CustomServiceType> <EXTSESSIONID>sample string 1</EXTSESSIONID> <EXTSYSTEMID>sample string 7</EXTSYSTEMID> <REFERENCENO>sample string 3</REFERENCENO> <ROLEID>sample string 5</ROLEID> <TRANSACTIONDATE>sample string 2</TRANSACTIONDATE> <TXNID>sample string 8</TXNID> </RoleAssignRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RoleAssignResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CLIENTCODE | string |
None. |
|
| EXTSESSIONID | string |
None. |
|
| REFERENCENO | string |
None. |
|
| TRANSACTIONDATE | string |
None. |
|
| TRANSACTIONID | string |
None. |
|
| EXTSYSTEMID | string |
None. |
|
| Rc | Rc |
None. |
Response Formats
application/json, text/json
Sample:
{
"CLIENTCODE": "sample string 1",
"EXTSESSIONID": "sample string 2",
"REFERENCENO": "sample string 3",
"TRANSACTIONDATE": "sample string 4",
"TRANSACTIONID": "sample string 5",
"EXTSYSTEMID": "sample string 6",
"Rc": {
"errorcode": "sample string 1",
"errormessage": "sample string 2",
"returncode": "sample string 3"
}
}
application/xml, text/xml
Sample:
<RoleAssignResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HdfcApiWrapper.Models">
<CLIENTCODE>sample string 1</CLIENTCODE>
<EXTSESSIONID>sample string 2</EXTSESSIONID>
<EXTSYSTEMID>sample string 6</EXTSYSTEMID>
<REFERENCENO>sample string 3</REFERENCENO>
<Rc>
<errorcode>sample string 1</errorcode>
<errormessage>sample string 2</errormessage>
<returncode>sample string 3</returncode>
</Rc>
<TRANSACTIONDATE>sample string 4</TRANSACTIONDATE>
<TRANSACTIONID>sample string 5</TRANSACTIONID>
</RoleAssignResponse>