POST Visual/saveUserCorpSubject

保存用户或角色的公司主体

Request Information

URI Parameters

None.

Body Parameters

t_DbCorpSubjectUser
NameDescriptionTypeAdditional information
fCorpSubjects

Collection of integer

None.

fType

integer

None.

fObjectId

integer

None.

fName

string

None.

fCorpSbjId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "fCorpSubjects": [
    1,
    2
  ],
  "fType": 1,
  "fObjectId": 2,
  "fName": "sample string 3",
  "fCorpSbjId": 4
}

application/xml, text/xml

Sample:
<t_DbCorpSubjectUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel">
  <fCorpSbjId>4</fCorpSbjId>
  <fCorpSubjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </fCorpSubjects>
  <fName>sample string 3</fName>
  <fObjectId>2</fObjectId>
  <fType>1</fType>
</t_DbCorpSubjectUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResModel
NameDescriptionTypeAdditional information
error

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "error": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi">
  <Msg>sample string 2</Msg>
  <error>1</error>
</ResModel>