POST v1/Products/Image

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Mindbody.Contracts.Products.Models.Products.Image.ProductImageResponse
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

Sizes

Dictionary of Mindbody.Contracts.Products.Models.Products.Image.ProductImageResponse+SizeNames [key] and Mindbody.Contracts.Products.Models.Products.Image.ProductImageInfo [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "a6e3a8af-8a9c-4289-9b33-3fbc61ac5bcc",
  "Sizes": {
    "Small": {
      "Url": "sample string 1",
      "Width": 2,
      "Height": 3
    }
  }
}

application/xml, text/xml

Sample:
<ProductImageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products">
  <Guid>a6e3a8af-8a9c-4289-9b33-3fbc61ac5bcc</Guid>
  <Sizes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfProductImageResponse.SizeNamesProductImageInfo0QxY_SpzI>
      <d2p1:Key>Small</d2p1:Key>
      <d2p1:Value>
        <Height>3</Height>
        <Url>sample string 1</Url>
        <Width>2</Width>
      </d2p1:Value>
    </d2p1:KeyValueOfProductImageResponse.SizeNamesProductImageInfo0QxY_SpzI>
  </Sizes>
</ProductImageResponse>

multipart/form-data

Sample:
<ProductImageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products"><Guid>a6e3a8af-8a9c-4289-9b33-3fbc61ac5bcc</Guid><Sizes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:KeyValueOfProductImageResponse.SizeNamesProductImageInfo0QxY_SpzI><d2p1:Key>Small</d2p1:Key><d2p1:Value><Height>3</Height><Url>sample string 1</Url><Width>2</Width></d2p1:Value></d2p1:KeyValueOfProductImageResponse.SizeNamesProductImageInfo0QxY_SpzI></Sizes></ProductImageResponse>