PUT api/Product/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ProductModelName | Description | Type | Additional information |
---|---|---|---|
id | byte |
None. |
|
name | string |
None. |
|
isAgentCheckoutProduct | boolean |
None. |
|
requireMlsSetup | boolean |
None. |
|
product_name | string |
None. |
|
img_url | string |
None. |
|
thumbnail_url | string |
None. |
|
description | string |
None. |
|
video_url | string |
None. |
|
services | Collection of ServiceModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 64, "name": "sample string 2", "isAgentCheckoutProduct": true, "requireMlsSetup": true, "product_name": "sample string 5", "img_url": "sample string 6", "thumbnail_url": "sample string 7", "description": "sample string 8", "video_url": "sample string 9", "services": [ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ] }
text/html
Sample:
{"id":64,"name":"sample string 2","isAgentCheckoutProduct":true,"requireMlsSetup":true,"product_name":"sample string 5","img_url":"sample string 6","thumbnail_url":"sample string 7","description":"sample string 8","video_url":"sample string 9","services":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}]}
application/xml, text/xml
Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <Description>sample string 8</Description> <Display>true</Display> <FriendlyName>sample string 2</FriendlyName> <HeroUrl>sample string 6</HeroUrl> <Id>64</Id> <LogoUrl>sample string 7</LogoUrl> <ProductName>sample string 5</ProductName> <RequiresMlsSetup>true</RequiresMlsSetup> <Services> <ProductModel.ServiceModel> <Id>1</Id> <Name>sample string 2</Name> </ProductModel.ServiceModel> <ProductModel.ServiceModel> <Id>1</Id> <Name>sample string 2</Name> </ProductModel.ServiceModel> </Services> <VideoUrl>sample string 9</VideoUrl> </ProductModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.