POST api/SWPON_EmployeeOutDoor/SendODMail

Request Information

URI Parameters

None.

Body Parameters

ProspectModel
NameDescriptionTypeAdditional information
ProspectId

integer

None.

ProductId

integer

None.

CompanyId

integer

None.

ProspectName

string

None.

Location

string

None.

Pros_Trans_Id

integer

None.

EmployeeId

integer

None.

AssignBy

integer

None.

ApprovedBy

integer

None.

CallType

integer

None.

CallSubtype

integer

None.

TransactionDate

date

None.

FromDate

date

None.

ToDate

date

None.

InTime

string

None.

OutTime

string

None.

Reason

string

None.

Status

string

None.

Comment

string

None.

CallReport

string

None.

CollectionType

string

None.

CollectionEnclosure

string

None.

FollowUpDate

date

None.

FollowUpRemark

string

None.

Latitude

string

None.

Longitude

string

None.

Supervisor_Comment

string

None.

Supervisor_Status

string

None.

EmployeeName

string

None.

EncCallReport

string

None.

EncCollection

string

None.

CustomerId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProspectId": 1,
  "ProductId": 1,
  "CompanyId": 2,
  "ProspectName": "sample string 3",
  "Location": "sample string 4",
  "Pros_Trans_Id": 1,
  "EmployeeId": 5,
  "AssignBy": 6,
  "ApprovedBy": 7,
  "CallType": 8,
  "CallSubtype": 1,
  "TransactionDate": "2025-12-24T18:27:11.627948+05:30",
  "FromDate": "2025-12-24T18:27:11.627948+05:30",
  "ToDate": "2025-12-24T18:27:11.627948+05:30",
  "InTime": "sample string 9",
  "OutTime": "sample string 10",
  "Reason": "sample string 11",
  "Status": "sample string 12",
  "Comment": "sample string 13",
  "CallReport": "sample string 14",
  "CollectionType": "sample string 15",
  "CollectionEnclosure": "sample string 16",
  "FollowUpDate": "2025-12-24T18:27:11.627948+05:30",
  "FollowUpRemark": "sample string 17",
  "Latitude": "sample string 18",
  "Longitude": "sample string 19",
  "Supervisor_Comment": "sample string 20",
  "Supervisor_Status": "sample string 21",
  "EmployeeName": "sample string 22",
  "EncCallReport": "sample string 23",
  "EncCollection": "sample string 24",
  "CustomerId": "sample string 25"
}

application/xml, text/xml

Sample:
<ProspectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ApprovedBy>7</ApprovedBy>
  <AssignBy>6</AssignBy>
  <CallReport>sample string 14</CallReport>
  <CallSubtype>1</CallSubtype>
  <CallType>8</CallType>
  <CollectionEnclosure>sample string 16</CollectionEnclosure>
  <CollectionType>sample string 15</CollectionType>
  <Comment>sample string 13</Comment>
  <CompanyId>2</CompanyId>
  <CustomerId>sample string 25</CustomerId>
  <EmployeeId>5</EmployeeId>
  <EmployeeName>sample string 22</EmployeeName>
  <EncCallReport>sample string 23</EncCallReport>
  <EncCollection>sample string 24</EncCollection>
  <FollowUpDate>2025-12-24T18:27:11.627948+05:30</FollowUpDate>
  <FollowUpRemark>sample string 17</FollowUpRemark>
  <FromDate>2025-12-24T18:27:11.627948+05:30</FromDate>
  <InTime>sample string 9</InTime>
  <Latitude>sample string 18</Latitude>
  <Location>sample string 4</Location>
  <Longitude>sample string 19</Longitude>
  <OutTime>sample string 10</OutTime>
  <ProductId>1</ProductId>
  <Pros_Trans_Id>1</Pros_Trans_Id>
  <ProspectId>1</ProspectId>
  <ProspectName>sample string 3</ProspectName>
  <Reason>sample string 11</Reason>
  <Status>sample string 12</Status>
  <Supervisor_Comment>sample string 20</Supervisor_Comment>
  <Supervisor_Status>sample string 21</Supervisor_Status>
  <ToDate>2025-12-24T18:27:11.627948+05:30</ToDate>
  <TransactionDate>2025-12-24T18:27:11.627948+05:30</TransactionDate>
</ProspectModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProspectModel'.

Response Information

Resource Description

None.