POST api/GetMenuListByUserId

Request Information

URI Parameters

None.

Body Parameters

clsUser
NameDescriptionTypeAdditional information
intId

integer

None.

intCompanyId

integer

None.

strEmail

string

Required

Matching regular expression pattern: ^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$

strUserName

string

Required

Max length: 100

strPassword

string

None.

strPasswordHash

Collection of byte

None.

strPasswordSalt

Collection of byte

None.

strFirstName

string

Required

Max length: 100

strMiddleName

string

None.

strLastName

string

Required

Max length: 100

strPhone

string

Required

Matching regular expression pattern: ^[0-9]*$

Max length: 25

strAddress1

string

Required

Max length: 100

strAddress2

string

Required

Max length: 100

strTown

string

Required

Max length: 30

strPostCode

string

Required

Matching regular expression pattern: ^[0-9]*$

Max length: 20

intRoleId

integer

None.

intReportingTo

integer

None.

intPartnerId

integer

None.

strAllowIps

string

None.

bisAllowAllIps

boolean

None.

intLoginflag

integer

None.

dtelastlogindate

date

None.

dteLastPasswordChangeDate

date

None.

access_token

string

None.

error_description

string

None.

strRandomCode

string

None.

ErrorCode

integer

None.

AutoID

integer

None.

ErrorMsg

string

None.

Type

string

None.

bisalive

boolean

None.

strAction

string

None.

intCreatedBy

integer

None.

intcompany_id

integer

None.

dteCreatedDate

date

None.

intModifyBy

integer

None.

dteModifyDate

date

None.

PageNo

integer

None.

PageSize

integer

None.

TotalRecord

integer

None.

strSearchText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "intId": 1,
  "intCompanyId": 2,
  "strEmail": "sample string 3",
  "strUserName": "sample string 4",
  "strPassword": "sample string 5",
  "strPasswordHash": "QEA=",
  "strPasswordSalt": "QEA=",
  "strFirstName": "sample string 6",
  "strMiddleName": "sample string 7",
  "strLastName": "sample string 8",
  "strPhone": "sample string 9",
  "strAddress1": "sample string 10",
  "strAddress2": "sample string 11",
  "strTown": "sample string 12",
  "strPostCode": "sample string 13",
  "intRoleId": 14,
  "intReportingTo": 15,
  "intPartnerId": 16,
  "strAllowIps": "sample string 17",
  "bisAllowAllIps": true,
  "intLoginflag": 19,
  "dtelastlogindate": "2025-12-11T11:05:22.5341493+00:00",
  "dteLastPasswordChangeDate": "2025-12-11T11:05:22.5341493+00:00",
  "access_token": "sample string 20",
  "error_description": "sample string 21",
  "strRandomCode": "sample string 22",
  "ErrorCode": 23,
  "AutoID": 24,
  "ErrorMsg": "sample string 25",
  "Type": "sample string 26",
  "bisalive": true,
  "strAction": "sample string 28",
  "intCreatedBy": 1,
  "intcompany_id": 1,
  "dteCreatedDate": "2025-12-11T11:05:22.5341493+00:00",
  "intModifyBy": 1,
  "dteModifyDate": "2025-12-11T11:05:22.5341493+00:00",
  "PageNo": 29,
  "PageSize": 30,
  "TotalRecord": 31,
  "strSearchText": "sample string 32"
}

application/xml, text/xml

Sample:
<clsUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity.Model">
  <AutoID xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">24</AutoID>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">23</ErrorCode>
  <ErrorMsg xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 25</ErrorMsg>
  <PageNo xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">29</PageNo>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">30</PageSize>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">31</TotalRecord>
  <Type xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 26</Type>
  <bisalive xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">true</bisalive>
  <dteCreatedDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:05:22.5341493+00:00</dteCreatedDate>
  <dteModifyDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:05:22.5341493+00:00</dteModifyDate>
  <intCreatedBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intCreatedBy>
  <intModifyBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intModifyBy>
  <intcompany_id xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intcompany_id>
  <strAction xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 28</strAction>
  <strSearchText xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 32</strSearchText>
  <access_token>sample string 20</access_token>
  <bisAllowAllIps>true</bisAllowAllIps>
  <dteLastPasswordChangeDate>2025-12-11T11:05:22.5341493+00:00</dteLastPasswordChangeDate>
  <dtelastlogindate>2025-12-11T11:05:22.5341493+00:00</dtelastlogindate>
  <error_description>sample string 21</error_description>
  <intCompanyId>2</intCompanyId>
  <intId>1</intId>
  <intLoginflag>19</intLoginflag>
  <intPartnerId>16</intPartnerId>
  <intReportingTo>15</intReportingTo>
  <intRoleId>14</intRoleId>
  <strAddress1>sample string 10</strAddress1>
  <strAddress2>sample string 11</strAddress2>
  <strAllowIps>sample string 17</strAllowIps>
  <strEmail>sample string 3</strEmail>
  <strFirstName>sample string 6</strFirstName>
  <strLastName>sample string 8</strLastName>
  <strMiddleName>sample string 7</strMiddleName>
  <strPassword>sample string 5</strPassword>
  <strPasswordHash>QEA=</strPasswordHash>
  <strPasswordSalt>QEA=</strPasswordSalt>
  <strPhone>sample string 9</strPhone>
  <strPostCode>sample string 13</strPostCode>
  <strRandomCode>sample string 22</strRandomCode>
  <strTown>sample string 12</strTown>
  <strUserName>sample string 4</strUserName>
</clsUser>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'clsUser'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.