POST api/Account/CreateRs02?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

创建rs02

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

RS02_Account_RoleInfo
NameDescriptionTypeAdditional 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": "a33e9d21-2812-493d-85e8-3ad042595430",
  "DomainID": "26e640b7-99e3-4cd5-b0e7-33146825b86f",
  "LastUpdatePersonID": "sample string 1",
  "LastUpdateAccountID": "sample string 2",
  "LastUpdateDateTime": "2025-06-23 21:54:56",
  "CreatePersonID": "sample string 3",
  "CreateAccountID": "sample string 4",
  "CreateDateTime": "2025-06-23 21:54:56",
  "IsDelete": true,
  "AccountID": "a8eb05b9-e9c1-40e1-9877-ce78f282d3f9",
  "RoleInfoID": "490385e2-3c8e-44c4-9fe7-bf8c4dcfff31"
}

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>a8eb05b9-e9c1-40e1-9877-ce78f282d3f9</AccountID>
  <CreateAccountID>sample string 4</CreateAccountID>
  <CreateDateTime>2025-06-23T21:54:56.4567252+08:00</CreateDateTime>
  <CreatePersonID>sample string 3</CreatePersonID>
  <DomainID>26e640b7-99e3-4cd5-b0e7-33146825b86f</DomainID>
  <IsDelete>true</IsDelete>
  <LastUpdateAccountID>sample string 2</LastUpdateAccountID>
  <LastUpdateDateTime>2025-06-23T21:54:56.4567252+08:00</LastUpdateDateTime>
  <LastUpdatePersonID>sample string 1</LastUpdatePersonID>
  <RoleInfoID>490385e2-3c8e-44c4-9fe7-bf8c4dcfff31</RoleInfoID>
  <TID>a33e9d21-2812-493d-85e8-3ad042595430</TID>
</RS02_Account_RoleInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional 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>