POST api/AgentLead
Request Information
URI Parameters
None.
Body Parameters
AgentLeadModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Required |
|
LastName | string |
Required |
|
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "Email": "sample string 3" }
text/html
Sample:
{"FirstName":"sample string 1","LastName":"sample string 2","Email":"sample string 3"}
application/xml, text/xml
Sample:
<AgentLeadController.AgentLeadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Services.NPlayApi.Controllers"> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> </AgentLeadController.AgentLeadModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.