POST SalesRepresentative/Save

Saves the specified Sales Representative.

Request Information

URI Parameters

None.

Body Parameters

The Sales Representative.

Sales Representative
NameTypeAdditional informationDescription
ID integer

None.

FirstName string

Required

String length: inclusive between 0 and 50

LastName string

String length: inclusive between 0 and 50

Name string

Read Only / System Generated

Active bool

Required

Email string

None.

Mobile string

String length: inclusive between 0 and 30

Telephone string

String length: inclusive between 0 and 30

Created date

Read Only / System Generated

Modified nullable date

Read Only / System Generated

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Name": "sample string 2 sample string 3",
  "Active": true,
  "Email": "sample string 6",
  "Mobile": "sample string 7",
  "Telephone": "sample string 8",
  "Created": "2021-10-23",
  "Modified": "2021-10-23"
}

Response Information

Resource Description

Sales Representative
NameTypeAdditional informationDescription
ID integer

None.

FirstName string

Required

String length: inclusive between 0 and 50

LastName string

String length: inclusive between 0 and 50

Name string

Read Only / System Generated

Active bool

Required

Email string

None.

Mobile string

String length: inclusive between 0 and 30

Telephone string

String length: inclusive between 0 and 30

Created date

Read Only / System Generated

Modified nullable date

Read Only / System Generated

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Name": "sample string 2 sample string 3",
  "Active": true,
  "Email": "sample string 6",
  "Mobile": "sample string 7",
  "Telephone": "sample string 8",
  "Created": "2021-10-23",
  "Modified": "2021-10-23"
}