POST api/account/register-promotional-mkt-account

Request Information

URI Parameters

None.

Body Parameters

PromotionalMktAccountModel
NameDescriptionTypeAdditional information
FullName

string

Required

Email

string

Required

Introduction

string

Required

PhonePrefix

string

Required

PhoneNumber

string

Required

ProductImageUrl

string

Required

ProductName

string

Required

ProductDescription

string

Required

ProductUrl

string

Required

AddressCity

string

Required

AddressState

string

Required

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "Email": "sample string 2",
  "Introduction": "sample string 3",
  "PhonePrefix": "sample string 4",
  "PhoneNumber": "sample string 5",
  "ProductImageUrl": "sample string 6",
  "ProductName": "sample string 7",
  "ProductDescription": "sample string 8",
  "ProductUrl": "sample string 9",
  "AddressCity": "sample string 10",
  "AddressState": "sample string 11"
}

application/xml, text/xml

Sample:
<PromotionalMktAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VIACRM.WebApp.Service.Models">
  <AddressCity>sample string 10</AddressCity>
  <AddressState>sample string 11</AddressState>
  <Email>sample string 2</Email>
  <FullName>sample string 1</FullName>
  <Introduction>sample string 3</Introduction>
  <PhoneNumber>sample string 5</PhoneNumber>
  <PhonePrefix>sample string 4</PhonePrefix>
  <ProductDescription>sample string 8</ProductDescription>
  <ProductImageUrl>sample string 6</ProductImageUrl>
  <ProductName>sample string 7</ProductName>
  <ProductUrl>sample string 9</ProductUrl>
</PromotionalMktAccountModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PromotionalMktAccountResultModel
NameDescriptionTypeAdditional information
AccessUrl

string

None.

AccountId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessUrl": "sample string 1",
  "AccountId": 2
}

application/xml, text/xml

Sample:
<PromotionalMktAccountResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VIACRM.WebApp.Service.Models">
  <AccessUrl>sample string 1</AccessUrl>
  <AccountId>2</AccountId>
</PromotionalMktAccountResultModel>