POST API/campApt/updatenewvanforcamp

Request Information

URI Parameters

None.

Body Parameters

campstatusmodel
NameDescriptionTypeAdditional information
checkflag

boolean

None.

stick

boolean

None.

CRMId

integer

None.

AppointmentId

integer

None.

CampStartDtTime

date

None.

CampEndDtTime

date

None.

CampStartDt

string

None.

CampName

string

None.

CampEndDt

string

None.

Campstarttime

string

None.

Campendtime

string

None.

CampStatus

string

None.

Treatment

boolean

None.

Id

integer

None.

ResultId

string

None.

CreatedBy

integer

None.

CampcreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Remarks

string

None.

corptype

string

None.

usertype

integer

None.

referralname

string

None.

referralmobile

string

None.

DriverId

integer

None.

DoctorId

integer

None.

UserId

integer

None.

AsstDoctorId

integer

None.

SalesExecutiveColor

string

None.

Name

string

None.

CampVanList

Collection of SalesCampVanList

None.

Request Formats

application/json, text/json

Sample:
{
  "checkflag": true,
  "stick": true,
  "CRMId": 3,
  "AppointmentId": 4,
  "CampStartDtTime": "2025-06-27T07:45:20.3538148+05:30",
  "CampEndDtTime": "2025-06-27T07:45:20.3538148+05:30",
  "CampStartDt": "sample string 5",
  "CampName": "sample string 6",
  "CampEndDt": "sample string 7",
  "Campstarttime": "sample string 8",
  "Campendtime": "sample string 9",
  "CampStatus": "sample string 10",
  "Treatment": true,
  "Id": 12,
  "ResultId": "sample string 13",
  "CreatedBy": 14,
  "CampcreatedBy": "sample string 15",
  "CreatedDate": "2025-06-27T07:45:20.3538148+05:30",
  "ModifiedBy": 17,
  "ModifiedDate": "2025-06-27T07:45:20.3538148+05:30",
  "IsActive": true,
  "IsDeleted": true,
  "Remarks": "sample string 21",
  "corptype": "sample string 22",
  "usertype": 23,
  "referralname": "sample string 24",
  "referralmobile": "sample string 25",
  "DriverId": 26,
  "DoctorId": 27,
  "UserId": 28,
  "AsstDoctorId": 29,
  "SalesExecutiveColor": "sample string 30",
  "Name": "sample string 31",
  "CampVanList": [
    {
      "VanName": "sample string 1",
      "VanId": 2,
      "Flg": true,
      "CampVanId": 4,
      "CampId": 5
    },
    {
      "VanName": "sample string 1",
      "VanId": 2,
      "Flg": true,
      "CampVanId": 4,
      "CampId": 5
    }
  ]
}

application/xml, text/xml

Sample:
<campstatusmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobidentAPI.Models">
  <AppointmentId>4</AppointmentId>
  <AsstDoctorId>29</AsstDoctorId>
  <CRMId>3</CRMId>
  <CampEndDt>sample string 7</CampEndDt>
  <CampEndDtTime>2025-06-27T07:45:20.3538148+05:30</CampEndDtTime>
  <CampName>sample string 6</CampName>
  <CampStartDt>sample string 5</CampStartDt>
  <CampStartDtTime>2025-06-27T07:45:20.3538148+05:30</CampStartDtTime>
  <CampStatus>sample string 10</CampStatus>
  <CampVanList>
    <SalesCampVanList>
      <CampId>5</CampId>
      <CampVanId>4</CampVanId>
      <Flg>true</Flg>
      <VanId>2</VanId>
      <VanName>sample string 1</VanName>
    </SalesCampVanList>
    <SalesCampVanList>
      <CampId>5</CampId>
      <CampVanId>4</CampVanId>
      <Flg>true</Flg>
      <VanId>2</VanId>
      <VanName>sample string 1</VanName>
    </SalesCampVanList>
  </CampVanList>
  <CampcreatedBy>sample string 15</CampcreatedBy>
  <Campendtime>sample string 9</Campendtime>
  <Campstarttime>sample string 8</Campstarttime>
  <CreatedBy>14</CreatedBy>
  <CreatedDate>2025-06-27T07:45:20.3538148+05:30</CreatedDate>
  <DoctorId>27</DoctorId>
  <DriverId>26</DriverId>
  <Id>12</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <ModifiedBy>17</ModifiedBy>
  <ModifiedDate>2025-06-27T07:45:20.3538148+05:30</ModifiedDate>
  <Name>sample string 31</Name>
  <Remarks>sample string 21</Remarks>
  <ResultId>sample string 13</ResultId>
  <SalesExecutiveColor>sample string 30</SalesExecutiveColor>
  <Treatment>true</Treatment>
  <UserId>28</UserId>
  <checkflag>true</checkflag>
  <corptype>sample string 22</corptype>
  <referralmobile>sample string 25</referralmobile>
  <referralname>sample string 24</referralname>
  <stick>true</stick>
  <usertype>23</usertype>
</campstatusmodel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.