POST UserModule/InsertNewSalesman

Request Information

URI Parameters

None.

Body Parameters

SalesManViewModel
NameDescriptionTypeAdditional information
adr1

string

None.

adr2

string

None.

city

string

None.

com_load_pct

decimal number

None.

com_min_amount

decimal number

None.

com_min_flag

boolean

None.

com_min_gp

decimal number

None.

com_pct

decimal number

None.

com_type

boolean

None.

company_cu

string

None.

company_oe

string

None.

employ_date

string

None.

name

string

None.

phone

string

None.

salesman1

string

None.

state

string

None.

user_id

string

None.

postal_code

string

None.

image

string

None.

fax

string

None.

email_address

string

None.

country_code

string

None.

adr

string

None.

alt_email_address

string

None.

web_passwd

string

None.

territory

string

None.

sales_group

string

None.

warehouse

string

None.

excl_oa_email_sale

boolean

None.

excl_qu_email_sale

boolean

None.

zone

string

None.

al_cr_activity

boolean

None.

C__rowids

string

None.

C__seq

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "adr1": "sample string 1",
  "adr2": "sample string 2",
  "city": "sample string 3",
  "com_load_pct": 1.0,
  "com_min_amount": 1.0,
  "com_min_flag": true,
  "com_min_gp": 1.0,
  "com_pct": 1.0,
  "com_type": true,
  "company_cu": "sample string 4",
  "company_oe": "sample string 5",
  "employ_date": "sample string 6",
  "name": "sample string 7",
  "phone": "sample string 8",
  "salesman1": "sample string 9",
  "state": "sample string 10",
  "user_id": "sample string 11",
  "postal_code": "sample string 12",
  "image": "sample string 13",
  "fax": "sample string 14",
  "email_address": "sample string 15",
  "country_code": "sample string 16",
  "adr": "sample string 17",
  "alt_email_address": "sample string 18",
  "web_passwd": "sample string 19",
  "territory": "sample string 20",
  "sales_group": "sample string 21",
  "warehouse": "sample string 22",
  "excl_oa_email_sale": true,
  "excl_qu_email_sale": true,
  "zone": "sample string 23",
  "al_cr_activity": true,
  "C__rowids": "sample string 24",
  "C__seq": 25
}

text/xml

Sample:
<SalesManViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <C__rowids>sample string 24</C__rowids>
  <C__seq>25</C__seq>
  <adr>sample string 17</adr>
  <adr1>sample string 1</adr1>
  <adr2>sample string 2</adr2>
  <al_cr_activity>true</al_cr_activity>
  <alt_email_address>sample string 18</alt_email_address>
  <city>sample string 3</city>
  <com_load_pct>1</com_load_pct>
  <com_min_amount>1</com_min_amount>
  <com_min_flag>true</com_min_flag>
  <com_min_gp>1</com_min_gp>
  <com_pct>1</com_pct>
  <com_type>true</com_type>
  <company_cu>sample string 4</company_cu>
  <company_oe>sample string 5</company_oe>
  <country_code>sample string 16</country_code>
  <email_address>sample string 15</email_address>
  <employ_date>sample string 6</employ_date>
  <excl_oa_email_sale>true</excl_oa_email_sale>
  <excl_qu_email_sale>true</excl_qu_email_sale>
  <fax>sample string 14</fax>
  <image>sample string 13</image>
  <name>sample string 7</name>
  <phone>sample string 8</phone>
  <postal_code>sample string 12</postal_code>
  <sales_group>sample string 21</sales_group>
  <salesman1>sample string 9</salesman1>
  <state>sample string 10</state>
  <territory>sample string 20</territory>
  <user_id>sample string 11</user_id>
  <warehouse>sample string 22</warehouse>
  <web_passwd>sample string 19</web_passwd>
  <zone>sample string 23</zone>
</SalesManViewModel>

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/" />