POST api/Account/CreateRs02?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
创建rs02
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
RS02_Account_RoleInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| TID | globally unique identifier |
None. |
|
| DomainID | globally unique identifier |
None. |
|
| LastUpdatePersonID | string |
None. |
|
| LastUpdateAccountID | string |
None. |
|
| LastUpdateDateTime | date |
None. |
|
| CreatePersonID | string |
None. |
|
| CreateAccountID | string |
None. |
|
| CreateDateTime | date |
None. |
|
| IsDelete | boolean |
None. |
|
| AccountID | globally unique identifier |
None. |
|
| RoleInfoID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"TID": "def98ab2-704b-4da9-b6ec-30af4956334e",
"DomainID": "62da63ed-b944-40ac-9c63-f9c3d00e7589",
"LastUpdatePersonID": "sample string 1",
"LastUpdateAccountID": "sample string 2",
"LastUpdateDateTime": "2025-12-17 05:45:46",
"CreatePersonID": "sample string 3",
"CreateAccountID": "sample string 4",
"CreateDateTime": "2025-12-17 05:45:46",
"IsDelete": true,
"AccountID": "962e3868-f951-485e-b561-fea83fa9fbb5",
"RoleInfoID": "f0a8cf2e-a382-4f3e-a8af-e5709b3b310d"
}
application/xml, text/xml
Sample:
<RS02_Account_RoleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity"> <AccountID>962e3868-f951-485e-b561-fea83fa9fbb5</AccountID> <CreateAccountID>sample string 4</CreateAccountID> <CreateDateTime>2025-12-17T05:45:46.2788435+08:00</CreateDateTime> <CreatePersonID>sample string 3</CreatePersonID> <DomainID>62da63ed-b944-40ac-9c63-f9c3d00e7589</DomainID> <IsDelete>true</IsDelete> <LastUpdateAccountID>sample string 2</LastUpdateAccountID> <LastUpdateDateTime>2025-12-17T05:45:46.2788435+08:00</LastUpdateDateTime> <LastUpdatePersonID>sample string 1</LastUpdatePersonID> <RoleInfoID>f0a8cf2e-a382-4f3e-a8af-e5709b3b310d</RoleInfoID> <TID>def98ab2-704b-4da9-b6ec-30af4956334e</TID> </RS02_Account_RoleInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": "sample string 2"
}
application/xml, text/xml
Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>sample string 2</Data> <Message>sample string 1</Message> </ResultModelOfstring>