POST api/SalesmanApi/Post_Salesman_for_save_update

Request Information

URI Parameters

None.

Body Parameters

clsSalesman
NameDescriptionTypeAdditional information
SalesmanId

string

None.

SmName

string

None.

SmMobile

string

None.

SmAddress

string

None.

SmStatus

boolean

None.

SmCode

string

None.

Status

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

tbl_beatsalesman

Collection of beatsalesman

None.

Request Formats

application/json, text/json

Sample:
{
  "SalesmanId": "sample string 1",
  "SmName": "sample string 2",
  "SmMobile": "sample string 3",
  "SmAddress": "sample string 4",
  "SmStatus": true,
  "SmCode": "sample string 6",
  "Status": "sample string 7",
  "Database": "sample string 8",
  "Compcode": "sample string 9",
  "EventType": "sample string 10",
  "tbl_beatsalesman": [
    {
      "bid": "sample string 1",
      "beatid": "sample string 2",
      "salesmanid": "sample string 3"
    },
    {
      "bid": "sample string 1",
      "beatid": "sample string 2",
      "salesmanid": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<clsSalesman xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <Compcode>sample string 9</Compcode>
  <Database>sample string 8</Database>
  <EventType>sample string 10</EventType>
  <SalesmanId>sample string 1</SalesmanId>
  <SmAddress>sample string 4</SmAddress>
  <SmCode>sample string 6</SmCode>
  <SmMobile>sample string 3</SmMobile>
  <SmName>sample string 2</SmName>
  <SmStatus>true</SmStatus>
  <Status>sample string 7</Status>
  <tbl_beatsalesman>
    <beatsalesman>
      <beatid>sample string 2</beatid>
      <bid>sample string 1</bid>
      <salesmanid>sample string 3</salesmanid>
    </beatsalesman>
    <beatsalesman>
      <beatid>sample string 2</beatid>
      <bid>sample string 1</bid>
      <salesmanid>sample string 3</salesmanid>
    </beatsalesman>
  </tbl_beatsalesman>
</clsSalesman>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>