POST User/Save

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
UserGuid

string

None.

BusinessGUID

string

None.

Name

string

None.

Phone

string

None.

Email

string

None.

EmailNotification

integer

None.

PhoneNotification

integer

None.

CreatedBy

integer

None.

RoleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserGuid": "sample string 1",
  "BusinessGUID": "sample string 2",
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "Email": "sample string 5",
  "EmailNotification": 6,
  "PhoneNotification": 7,
  "CreatedBy": 8,
  "RoleId": 9
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models">
  <BusinessGUID>sample string 2</BusinessGUID>
  <CreatedBy>8</CreatedBy>
  <Email>sample string 5</Email>
  <EmailNotification>6</EmailNotification>
  <Name>sample string 3</Name>
  <Phone>sample string 4</Phone>
  <PhoneNotification>7</PhoneNotification>
  <RoleId>9</RoleId>
  <UserGuid>sample string 1</UserGuid>
</UserModel>

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 'UserModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.