POST UserModule/InsertNewcuUser

Request Information

URI Parameters

None.

Body Parameters

UserViewModel
NameDescriptionTypeAdditional information
company_sy

string

None.

Titled

string

None.

first_name

string

None.

last_name

string

None.

adr1

string

None.

adr2

string

None.

adr3

string

None.

adr4

string

None.

state

string

None.

county_code

string

None.

postal_code

string

None.

customer

string

None.

userId

string

None.

password

string

None.

name

string

None.

email

string

None.

active

boolean

None.

permissions

string

None.

session_id

string

None.

phone

string

None.

phone_ext

string

None.

cell

string

None.

IsManager

boolean

None.

ParentID

string

None.

IsNoLonger

boolean

None.

isNewPermission

boolean

None.

profile_log

string

None.

shiptolist

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "company_sy": "sample string 1",
  "Titled": "sample string 2",
  "first_name": "sample string 3",
  "last_name": "sample string 4",
  "adr1": "sample string 5",
  "adr2": "sample string 6",
  "adr3": "sample string 7",
  "adr4": "sample string 8",
  "state": "sample string 9",
  "county_code": "sample string 10",
  "postal_code": "sample string 11",
  "customer": "sample string 12",
  "userId": "sample string 13",
  "password": "sample string 14",
  "name": "sample string 15",
  "email": "sample string 16",
  "active": true,
  "permissions": "sample string 18",
  "session_id": "sample string 19",
  "phone": "sample string 20",
  "phone_ext": "sample string 21",
  "cell": "sample string 22",
  "IsManager": true,
  "ParentID": "sample string 23",
  "IsNoLonger": true,
  "isNewPermission": true,
  "profile_log": "sample string 25",
  "shiptolist": [
    "sample string 1",
    "sample string 2"
  ]
}

text/xml

Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <IsManager>true</IsManager>
  <IsNoLonger>true</IsNoLonger>
  <ParentID>sample string 23</ParentID>
  <Titled>sample string 2</Titled>
  <active>true</active>
  <adr1>sample string 5</adr1>
  <adr2>sample string 6</adr2>
  <adr3>sample string 7</adr3>
  <adr4>sample string 8</adr4>
  <cell>sample string 22</cell>
  <company_sy>sample string 1</company_sy>
  <county_code>sample string 10</county_code>
  <customer>sample string 12</customer>
  <email>sample string 16</email>
  <first_name>sample string 3</first_name>
  <isNewPermission>true</isNewPermission>
  <last_name>sample string 4</last_name>
  <name>sample string 15</name>
  <password>sample string 14</password>
  <permissions>sample string 18</permissions>
  <phone>sample string 20</phone>
  <phone_ext>sample string 21</phone_ext>
  <postal_code>sample string 11</postal_code>
  <profile_log>sample string 25</profile_log>
  <session_id>sample string 19</session_id>
  <shiptolist xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </shiptolist>
  <state>sample string 9</state>
  <userId>sample string 13</userId>
</UserViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />