POST api/Warrenty/create_user

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Code

integer

None.

Name

string

None.

Uname

string

None.

Pswd

string

None.

IsActive

integer

None.

UserType

integer

None.

DOT

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Name": "sample string 2",
  "Uname": "sample string 3",
  "Pswd": "sample string 4",
  "IsActive": 5,
  "UserType": 6,
  "DOT": "sample string 7"
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/G_LeatherAPI.Models">
  <Code>1</Code>
  <DOT>sample string 7</DOT>
  <IsActive>5</IsActive>
  <Name>sample string 2</Name>
  <Pswd>sample string 4</Pswd>
  <Uname>sample string 3</Uname>
  <UserType>6</UserType>
</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/G_LeatherAPI.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfstring>