POST api/Agency/UpdatePricingPage

Request Information

URI Parameters

None.

Body Parameters

UpdateAgencyPricingPageRequestVM
NameDescriptionTypeAdditional information
Id

string

None.

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:
{
  "Id": "sample string 1",
  "AgencyId": "sample string 2",
  "AdminUserId": "sample string 3",
  "Name": "sample string 4",
  "Description": "sample string 5",
  "EmbedCode": "sample string 6",
  "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:
<UpdateAgencyPricingPageRequestVM 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 3</AdminUserId>
  <AgencyId>sample string 2</AgencyId>
  <Description>sample string 5</Description>
  <EmbedCode>sample string 6</EmbedCode>
  <IncludeLogo>true</IncludeLogo>
  <Name>sample string 4</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>
  <Id>sample string 1</Id>
</UpdateAgencyPricingPageRequestVM>

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.