POST api/Agency/SavePricingPage

Request Information

URI Parameters

None.

Body Parameters

SaveAgencyPricingPageRequestVM
NameDescriptionTypeAdditional information
AgencyId

string

Required

AdminUserId

string

Required

Name

string

Required

Description

string

None.

EmbedCode

string

None.

IncludeLogo

boolean

None.

Plans

Collection of AgencyPricingPagePlansRequestVM

Required

Request Formats

application/json, text/json

Sample:
{
  "AgencyId": "sample string 1",
  "AdminUserId": "sample string 2",
  "Name": "sample string 3",
  "Description": "sample string 4",
  "EmbedCode": "sample string 5",
  "IncludeLogo": true,
  "Plans": [
    {
      "Name": "sample string 1",
      "PlanId": "sample string 2",
      "AllowTrial": true
    },
    {
      "Name": "sample string 1",
      "PlanId": "sample string 2",
      "AllowTrial": true
    }
  ]
}

application/xml, text/xml

Sample:
<SaveAgencyPricingPageRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Agency">
  <AdminUserId>sample string 2</AdminUserId>
  <AgencyId>sample string 1</AgencyId>
  <Description>sample string 4</Description>
  <EmbedCode>sample string 5</EmbedCode>
  <IncludeLogo>true</IncludeLogo>
  <Name>sample string 3</Name>
  <Plans>
    <AgencyPricingPagePlansRequestVM>
      <AllowTrial>true</AllowTrial>
      <Name>sample string 1</Name>
      <PlanId>sample string 2</PlanId>
    </AgencyPricingPagePlansRequestVM>
    <AgencyPricingPagePlansRequestVM>
      <AllowTrial>true</AllowTrial>
      <Name>sample string 1</Name>
      <PlanId>sample string 2</PlanId>
    </AgencyPricingPagePlansRequestVM>
  </Plans>
</SaveAgencyPricingPageRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.