POST api/ListingTag?buyerId={buyerId}&onboardingAgentId={onboardingAgentId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
buyerId | integer |
Required |
|
onboardingAgentId | integer |
Default value is 0 |
Body Parameters
Collection of ListingTagModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
BuyerId | integer |
None. |
|
ListingId | string |
Required |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Tags | Collection of string |
None. |
|
AgentId | integer |
None. |
|
UnsubscribeNotification | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "1_sample string 2", "BuyerId": 1, "ListingId": "sample string 2", "Latitude": 3.1, "Longitude": 4.1, "Tags": [ "sample string 1", "sample string 2" ], "AgentId": 5, "UnsubscribeNotification": true }, { "Id": "1_sample string 2", "BuyerId": 1, "ListingId": "sample string 2", "Latitude": 3.1, "Longitude": 4.1, "Tags": [ "sample string 1", "sample string 2" ], "AgentId": 5, "UnsubscribeNotification": true } ]
text/html
Sample:
[{"Id":"1_sample string 2","BuyerId":1,"ListingId":"sample string 2","Latitude":3.1,"Longitude":4.1,"Tags":["sample string 1","sample string 2"],"AgentId":5,"UnsubscribeNotification":true},{"Id":"1_sample string 2","BuyerId":1,"ListingId":"sample string 2","Latitude":3.1,"Longitude":4.1,"Tags":["sample string 1","sample string 2"],"AgentId":5,"UnsubscribeNotification":true}]
application/xml, text/xml
Sample:
<ArrayOfListingTagModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <ListingTagModel> <AgentId>5</AgentId> <BuyerId>1</BuyerId> <Latitude>3.1</Latitude> <ListingId>sample string 2</ListingId> <Longitude>4.1</Longitude> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <UnsubscribeNotification>true</UnsubscribeNotification> </ListingTagModel> <ListingTagModel> <AgentId>5</AgentId> <BuyerId>1</BuyerId> <Latitude>3.1</Latitude> <ListingId>sample string 2</ListingId> <Longitude>4.1</Longitude> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <UnsubscribeNotification>true</UnsubscribeNotification> </ListingTagModel> </ArrayOfListingTagModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ListingTagName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
BuyerId | integer |
None. |
|
AgentId | integer |
None. |
|
ListingId | string |
Required |
|
Date | date |
None. |
|
Tags | Collection of string |
None. |
|
Location | GeoLocation |
None. |
|
UnsubscribeNotification | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "1_sample string 3", "BuyerId": 1, "AgentId": 2, "ListingId": "sample string 3", "Date": "2024-12-21T16:16:22.5761974+00:00", "Tags": [ "sample string 1", "sample string 2" ], "Location": { "Lat": 1.1, "Lon": 2.1 }, "UnsubscribeNotification": true, "Guid": "3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e" }, { "Id": "1_sample string 3", "BuyerId": 1, "AgentId": 2, "ListingId": "sample string 3", "Date": "2024-12-21T16:16:22.5761974+00:00", "Tags": [ "sample string 1", "sample string 2" ], "Location": { "Lat": 1.1, "Lon": 2.1 }, "UnsubscribeNotification": true, "Guid": "3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e" } ]
text/html
Sample:
[{"Id":"1_sample string 3","BuyerId":1,"AgentId":2,"ListingId":"sample string 3","Date":"2024-12-21T16:16:22.5761974+00:00","Tags":["sample string 1","sample string 2"],"Location":{"Lat":1.1,"Lon":2.1},"UnsubscribeNotification":true,"Guid":"3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e"},{"Id":"1_sample string 3","BuyerId":1,"AgentId":2,"ListingId":"sample string 3","Date":"2024-12-21T16:16:22.5761974+00:00","Tags":["sample string 1","sample string 2"],"Location":{"Lat":1.1,"Lon":2.1},"UnsubscribeNotification":true,"Guid":"3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e"}]
application/xml, text/xml
Sample:
<ArrayOfListingTag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models"> <ListingTag> <AgentId>2</AgentId> <BuyerId>1</BuyerId> <Date>2024-12-21T16:16:22.5761974+00:00</Date> <Guid>3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e</Guid> <ListingId>sample string 3</ListingId> <Location> <Lat>1.1</Lat> <Lon>2.1</Lon> </Location> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <UnsubscribeNotification>true</UnsubscribeNotification> </ListingTag> <ListingTag> <AgentId>2</AgentId> <BuyerId>1</BuyerId> <Date>2024-12-21T16:16:22.5761974+00:00</Date> <Guid>3e4a87b1-6f39-4096-a7e8-c6bcbd9dc34e</Guid> <ListingId>sample string 3</ListingId> <Location> <Lat>1.1</Lat> <Lon>2.1</Lon> </Location> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <UnsubscribeNotification>true</UnsubscribeNotification> </ListingTag> </ArrayOfListingTag>