POST Agent/PutAgentTable/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
AgentEditingName | Description | Type | Additional information |
---|---|---|---|
roleId | integer |
None. |
|
agencyid | integer |
None. |
|
agentregno | string |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
agentjoiningdate | date |
None. |
|
agentemail | string |
None. |
|
agentpassword | string |
None. |
|
agentphone | string |
None. |
|
agentdescription | string |
None. |
|
agentcareerstarting | date |
None. |
|
agentactivelistings | integer |
None. |
|
agentimage | string |
None. |
|
areas | string |
None. |
|
issuperagent | boolean |
None. |
|
nationality | integer |
None. |
|
nicimg | string |
None. |
|
cnic | string |
None. |
|
agentfathername | string |
None. |
|
agentexperience | decimal number |
None. |
|
cityid | integer |
None. |
|
languageList | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "roleId": 1, "agencyid": 1, "agentregno": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "agentjoiningdate": "2025-07-07T23:17:31.1808594+05:00", "agentemail": "sample string 4", "agentpassword": "sample string 5", "agentphone": "sample string 6", "agentdescription": "sample string 7", "agentcareerstarting": "2025-07-07T23:17:31.1808594+05:00", "agentactivelistings": 1, "agentimage": "sample string 8", "areas": "sample string 9", "issuperagent": true, "nationality": 1, "nicimg": "sample string 10", "cnic": "sample string 11", "agentfathername": "sample string 12", "agentexperience": 13.1, "cityid": 1, "languageList": [ 1, 2 ] }
application/xml, text/xml
Sample:
<AgentEditing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Classes"> <agencyid>1</agencyid> <agentactivelistings>1</agentactivelistings> <agentcareerstarting>2025-07-07T23:17:31.1808594+05:00</agentcareerstarting> <agentdescription>sample string 7</agentdescription> <agentemail>sample string 4</agentemail> <agentexperience>13.1</agentexperience> <agentfathername>sample string 12</agentfathername> <agentimage>sample string 8</agentimage> <agentjoiningdate>2025-07-07T23:17:31.1808594+05:00</agentjoiningdate> <agentpassword>sample string 5</agentpassword> <agentphone>sample string 6</agentphone> <agentregno>sample string 1</agentregno> <areas>sample string 9</areas> <cityid>1</cityid> <cnic>sample string 11</cnic> <firstName>sample string 2</firstName> <issuperagent>true</issuperagent> <languageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </languageList> <lastName>sample string 3</lastName> <nationality>1</nationality> <nicimg>sample string 10</nicimg> <roleId>1</roleId> </AgentEditing>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.