GET api/ProposalLead/GetProposalLead?MID={MID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProposalLeadsDataAddResult
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

proposalLead

ProposalLeadsData

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "proposalLead": {
    "MID": 1,
    "NAME": "sample string 2",
    "EMAIL": "sample string 3",
    "COUNTRY": "sample string 4",
    "PHONE": "sample string 5",
    "COMPANY_NAME": "sample string 6",
    "INTERESTED_IN": "sample string 7",
    "HOW_HEAR_US": "sample string 8",
    "LEAD_SOURCE": "sample string 9",
    "ENTERED_ON": "2025-08-06T03:33:11.0658527+04:00",
    "RECEIVED_ON": "2025-08-06T03:33:11.0658527+04:00",
    "ISFROMWEB": true,
    "REFERENCE_BY": "sample string 13",
    "LEADCREATED_BY": "sample string 14",
    "TRN_ASSIGNTO": "sample string 15",
    "TRN_ASSIGNON": "2025-08-06T03:33:11.0658527+04:00",
    "TRN_ASSIGNBY": "sample string 17",
    "TRN_PROPOSAL_GENERATED": true,
    "TRN_PROPOSAL_GIVEN_ON": "2025-08-06T03:33:11.0658527+04:00",
    "TRN_PROPOSAL_APPROVED_BYCUSTOMER": true,
    "TRN_PROPOSAL_APPROVED_BYCUSTOMER_ON": "2025-08-06T03:33:11.0658527+04:00",
    "TRN_PROPOSAL_APPROVED_BYCUSTOMER_REFERENCE": 22,
    "PRODUCT": "sample string 23",
    "MODULE": "sample string 24",
    "CURRENT_STATUS": "sample string 25",
    "LEAD_SOURCE_DESCRIPTION": "sample string 26",
    "CURRENT_STATUS_DESCRIPTION": "sample string 27",
    "NEXT_ACTION": "sample string 28",
    "NEXT_ACTION_DATE": "2025-08-06T03:33:11.0658527+04:00",
    "DEAL_VALUE": "sample string 30",
    "DEAL_CLOSE_DATE": "2025-08-06T03:33:11.0658527+04:00",
    "COMMENTS": "sample string 32",
    "LOCATION": "sample string 33"
  }
}

text/html

Sample:
{"status":"sample string 1","message":"sample string 2","proposalLead":{"MID":1,"NAME":"sample string 2","EMAIL":"sample string 3","COUNTRY":"sample string 4","PHONE":"sample string 5","COMPANY_NAME":"sample string 6","INTERESTED_IN":"sample string 7","HOW_HEAR_US":"sample string 8","LEAD_SOURCE":"sample string 9","ENTERED_ON":"2025-08-06T03:33:11.0658527+04:00","RECEIVED_ON":"2025-08-06T03:33:11.0658527+04:00","ISFROMWEB":true,"REFERENCE_BY":"sample string 13","LEADCREATED_BY":"sample string 14","TRN_ASSIGNTO":"sample string 15","TRN_ASSIGNON":"2025-08-06T03:33:11.0658527+04:00","TRN_ASSIGNBY":"sample string 17","TRN_PROPOSAL_GENERATED":true,"TRN_PROPOSAL_GIVEN_ON":"2025-08-06T03:33:11.0658527+04:00","TRN_PROPOSAL_APPROVED_BYCUSTOMER":true,"TRN_PROPOSAL_APPROVED_BYCUSTOMER_ON":"2025-08-06T03:33:11.0658527+04:00","TRN_PROPOSAL_APPROVED_BYCUSTOMER_REFERENCE":22,"PRODUCT":"sample string 23","MODULE":"sample string 24","CURRENT_STATUS":"sample string 25","LEAD_SOURCE_DESCRIPTION":"sample string 26","CURRENT_STATUS_DESCRIPTION":"sample string 27","NEXT_ACTION":"sample string 28","NEXT_ACTION_DATE":"2025-08-06T03:33:11.0658527+04:00","DEAL_VALUE":"sample string 30","DEAL_CLOSE_DATE":"2025-08-06T03:33:11.0658527+04:00","COMMENTS":"sample string 32","LOCATION":"sample string 33"}}

application/xml, text/xml

Sample:
<ProposalLeadsDataAddResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Proposal">
  <message>sample string 2</message>
  <proposalLead>
    <COMMENTS>sample string 32</COMMENTS>
    <COMPANY_NAME>sample string 6</COMPANY_NAME>
    <COUNTRY>sample string 4</COUNTRY>
    <CURRENT_STATUS>sample string 25</CURRENT_STATUS>
    <CURRENT_STATUS_DESCRIPTION>sample string 27</CURRENT_STATUS_DESCRIPTION>
    <DEAL_CLOSE_DATE>2025-08-06T03:33:11.0658527+04:00</DEAL_CLOSE_DATE>
    <DEAL_VALUE>sample string 30</DEAL_VALUE>
    <EMAIL>sample string 3</EMAIL>
    <ENTERED_ON>2025-08-06T03:33:11.0658527+04:00</ENTERED_ON>
    <HOW_HEAR_US>sample string 8</HOW_HEAR_US>
    <INTERESTED_IN>sample string 7</INTERESTED_IN>
    <ISFROMWEB>true</ISFROMWEB>
    <LEADCREATED_BY>sample string 14</LEADCREATED_BY>
    <LEAD_SOURCE>sample string 9</LEAD_SOURCE>
    <LEAD_SOURCE_DESCRIPTION>sample string 26</LEAD_SOURCE_DESCRIPTION>
    <LOCATION>sample string 33</LOCATION>
    <MID>1</MID>
    <MODULE>sample string 24</MODULE>
    <NAME>sample string 2</NAME>
    <NEXT_ACTION>sample string 28</NEXT_ACTION>
    <NEXT_ACTION_DATE>2025-08-06T03:33:11.0658527+04:00</NEXT_ACTION_DATE>
    <PHONE>sample string 5</PHONE>
    <PRODUCT>sample string 23</PRODUCT>
    <RECEIVED_ON>2025-08-06T03:33:11.0658527+04:00</RECEIVED_ON>
    <REFERENCE_BY>sample string 13</REFERENCE_BY>
    <TRN_ASSIGNBY>sample string 17</TRN_ASSIGNBY>
    <TRN_ASSIGNON>2025-08-06T03:33:11.0658527+04:00</TRN_ASSIGNON>
    <TRN_ASSIGNTO>sample string 15</TRN_ASSIGNTO>
    <TRN_PROPOSAL_APPROVED_BYCUSTOMER>true</TRN_PROPOSAL_APPROVED_BYCUSTOMER>
    <TRN_PROPOSAL_APPROVED_BYCUSTOMER_ON>2025-08-06T03:33:11.0658527+04:00</TRN_PROPOSAL_APPROVED_BYCUSTOMER_ON>
    <TRN_PROPOSAL_APPROVED_BYCUSTOMER_REFERENCE>22</TRN_PROPOSAL_APPROVED_BYCUSTOMER_REFERENCE>
    <TRN_PROPOSAL_GENERATED>true</TRN_PROPOSAL_GENERATED>
    <TRN_PROPOSAL_GIVEN_ON>2025-08-06T03:33:11.0658527+04:00</TRN_PROPOSAL_GIVEN_ON>
  </proposalLead>
  <status>sample string 1</status>
</ProposalLeadsDataAddResult>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="status"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.EMAIL"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.COUNTRY"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.PHONE"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.COMPANY_NAME"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.INTERESTED_IN"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.HOW_HEAR_US"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.LEAD_SOURCE"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.ENTERED_ON"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.RECEIVED_ON"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.ISFROMWEB"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.REFERENCE_BY"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.LEADCREATED_BY"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_ASSIGNTO"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_ASSIGNON"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_ASSIGNBY"

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_PROPOSAL_GENERATED"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_PROPOSAL_GIVEN_ON"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_PROPOSAL_APPROVED_BYCUSTOMER"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_PROPOSAL_APPROVED_BYCUSTOMER_ON"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.TRN_PROPOSAL_APPROVED_BYCUSTOMER_REFERENCE"

22
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.PRODUCT"

sample string 23
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.MODULE"

sample string 24
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.CURRENT_STATUS"

sample string 25
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.LEAD_SOURCE_DESCRIPTION"

sample string 26
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.CURRENT_STATUS_DESCRIPTION"

sample string 27
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.NEXT_ACTION"

sample string 28
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.NEXT_ACTION_DATE"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.DEAL_VALUE"

sample string 30
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.DEAL_CLOSE_DATE"

2025-08-06T03:33:11.0658527+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.COMMENTS"

sample string 32
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="proposalLead.LOCATION"

sample string 33
--MultipartDataMediaFormatterBoundary1q2w3e--