POST api/Values/AgentAdvertisementMapping
Request Information
URI Parameters
None.
Body Parameters
Agents_Advertisement_Mapping_Property| Name | Description | Type | Additional information |
|---|---|---|---|
| project_id | integer |
None. |
|
| property_id | integer |
None. |
|
| agents_advertisement_id | integer |
None. |
|
| agents_advertisement_mapping_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"project_id": 1,
"property_id": 2,
"agents_advertisement_id": 3,
"agents_advertisement_mapping_id": 4
}
application/xml, text/xml
Sample:
<Agents_Advertisement_Mapping_Property xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Agent"> <agents_advertisement_id>3</agents_advertisement_id> <agents_advertisement_mapping_id>4</agents_advertisement_mapping_id> <project_id>1</project_id> <property_id>2</property_id> </Agents_Advertisement_Mapping_Property>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Agent_Advertisement_Mapping_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| msg | string |
None. |
|
| data | Agents_Advertisement_Mapping_Property |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"msg": "sample string 2",
"data": {
"project_id": 1,
"property_id": 2,
"agents_advertisement_id": 3,
"agents_advertisement_mapping_id": 4
}
}
application/xml, text/xml
Sample:
<Agent_Advertisement_Mapping_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.FunctionClasses.Response">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Agent">
<d2p1:agents_advertisement_id>3</d2p1:agents_advertisement_id>
<d2p1:agents_advertisement_mapping_id>4</d2p1:agents_advertisement_mapping_id>
<d2p1:project_id>1</d2p1:project_id>
<d2p1:property_id>2</d2p1:property_id>
</data>
<msg>sample string 2</msg>
<success>true</success>
</Agent_Advertisement_Mapping_Response>