PUT api/tblUsers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

tblUser
NameDescriptionTypeAdditional information
intCode

integer

None.

intEmpCode

integer

None.

intConsultantCode

integer

None.

bolIsBlackListed

boolean

None.

strLoginName

string

None.

strUserPassword

string

None.

strUserName

string

None.

strSecretQuestion

string

None.

strSecretAnswer

string

None.

bolIsCustomerBased

boolean

None.

bolIsDisabled

boolean

None.

bolIsAdmin

boolean

None.

bolIsFirstTime

boolean

None.

dtLastChanged

date

None.

tmVersion

Collection of byte

None.

dtmCreated

date

None.

dtmLastM

date

None.

intOwnerCode

integer

None.

intCreatedByCode

integer

None.

intAlteredByCode

integer

None.

intRecordStatusCode

integer

None.

intCompanyCode

integer

None.

strToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "intCode": 1,
  "intEmpCode": 1,
  "intConsultantCode": 1,
  "bolIsBlackListed": true,
  "strLoginName": "sample string 2",
  "strUserPassword": "sample string 3",
  "strUserName": "sample string 4",
  "strSecretQuestion": "sample string 5",
  "strSecretAnswer": "sample string 6",
  "bolIsCustomerBased": true,
  "bolIsDisabled": true,
  "bolIsAdmin": true,
  "bolIsFirstTime": true,
  "dtLastChanged": "2019-10-20T12:01:55.3468182-07:00",
  "tmVersion": "QEA=",
  "dtmCreated": "2019-10-20T12:01:55.3468182-07:00",
  "dtmLastM": "2019-10-20T12:01:55.3468182-07:00",
  "intOwnerCode": 8,
  "intCreatedByCode": 9,
  "intAlteredByCode": 1,
  "intRecordStatusCode": 10,
  "intCompanyCode": 11,
  "strToken": "sample string 12"
}

application/xml, text/xml

Sample:
<tblUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsultantWebApi.Models">
  <bolIsAdmin>true</bolIsAdmin>
  <bolIsBlackListed>true</bolIsBlackListed>
  <bolIsCustomerBased>true</bolIsCustomerBased>
  <bolIsDisabled>true</bolIsDisabled>
  <bolIsFirstTime>true</bolIsFirstTime>
  <dtLastChanged>2019-10-20T12:01:55.3468182-07:00</dtLastChanged>
  <dtmCreated>2019-10-20T12:01:55.3468182-07:00</dtmCreated>
  <dtmLastM>2019-10-20T12:01:55.3468182-07:00</dtmLastM>
  <intAlteredByCode>1</intAlteredByCode>
  <intCode>1</intCode>
  <intCompanyCode>11</intCompanyCode>
  <intConsultantCode>1</intConsultantCode>
  <intCreatedByCode>9</intCreatedByCode>
  <intEmpCode>1</intEmpCode>
  <intOwnerCode>8</intOwnerCode>
  <intRecordStatusCode>10</intRecordStatusCode>
  <strLoginName>sample string 2</strLoginName>
  <strSecretAnswer>sample string 6</strSecretAnswer>
  <strSecretQuestion>sample string 5</strSecretQuestion>
  <strToken>sample string 12</strToken>
  <strUserName>sample string 4</strUserName>
  <strUserPassword>sample string 3</strUserPassword>
  <tmVersion>QEA=</tmVersion>
</tblUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.