POST SalesPerson/Add

Add new SPG to system.

Request Information

URI Parameters

None.

Body Parameters

AddSalesPersonParameterModel
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

OutletName

string

None.

LeaderName

string

None.

DistrictID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Name": "sample string 2",
  "OutletName": "sample string 3",
  "LeaderName": "sample string 4",
  "DistrictID": 1
}

Response Information

Resource Description

ResultModelOfSalesPersonModel
NameDescriptionTypeAdditional information
StatusCode

string

None.

StatusMessage

string

None.

Value

SalesPersonModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "StatusMessage": "sample string 2",
  "Value": {
    "ID": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "DistrictID": 4,
    "OutletName": "sample string 5",
    "LeaderName": "sample string 6",
    "IsActive": true
  }
}