POST api/User/update_user

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Code

integer

None.

Name

string

None.

PhoneNo

string

None.

UserId

string

None.

Pswd

string

None.

TypeCode

integer

None.

isActive

integer

None.

DOT

string

None.

PostedBy

integer

None.

Token

string

None.

LedgerCode

integer

None.

UserType

string

None.

BranchCode

integer

None.

Branch

string

None.

BranchType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Name": "sample string 2",
  "PhoneNo": "sample string 3",
  "UserId": "sample string 4",
  "Pswd": "sample string 5",
  "TypeCode": 6,
  "isActive": 7,
  "DOT": "sample string 8",
  "PostedBy": 9,
  "Token": "sample string 10",
  "LedgerCode": 11,
  "UserType": "sample string 12",
  "BranchCode": 13,
  "Branch": "sample string 14",
  "BranchType": "sample string 15"
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Branch>sample string 14</Branch>
  <BranchCode>13</BranchCode>
  <BranchType>sample string 15</BranchType>
  <Code>1</Code>
  <DOT>sample string 8</DOT>
  <LedgerCode>11</LedgerCode>
  <Name>sample string 2</Name>
  <PhoneNo>sample string 3</PhoneNo>
  <PostedBy>9</PostedBy>
  <Pswd>sample string 5</Pswd>
  <Token>sample string 10</Token>
  <TypeCode>6</TypeCode>
  <UserId>sample string 4</UserId>
  <UserType>sample string 12</UserType>
  <isActive>7</isActive>
</UserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfstring>