POST SalesPerson/Update

Request Information

URI Parameters

None.

Body Parameters

SalesPersonModel
NameDescriptionTypeAdditional information
ID

integer

None.

Code

string

None.

Name

string

None.

DistrictID

integer

None.

OutletName

string

None.

LeaderName

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

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

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
  }
}