PUT api/Regions/Update?accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

string

Required

Body Parameters

RegionsViewModel
NameDescriptionTypeAdditional information
Name

string

Required

Description

string

None.

Color

ColorViewModel

None.

AddRemoveRegionInSubAccount

Collection of AddRemoveRegionInSubAccountViewModel

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Color": {
    "HexValue": "sample string 1",
    "RgbValue": {
      "R": "sample string 1",
      "G": "sample string 2",
      "B": "sample string 3",
      "A": "sample string 4"
    },
    "Gradient": "sample string 2"
  },
  "AddRemoveRegionInSubAccount": [
    {
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ],
      "RegionActionOnSubAccount": "Add"
    },
    {
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ],
      "RegionActionOnSubAccount": "Add"
    }
  ],
  "Id": "sample string 3",
  "CreatedDate": "2024-11-21T10:23:44.0073624+00:00",
  "UpdatedDate": "2024-11-21T10:23:44.0073624+00:00",
  "CreatedBy": "sample string 6",
  "UpdatedBy": "sample string 7",
  "CreatedByUserId": "sample string 8",
  "UpdatedByUserId": "sample string 9",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<RegionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Regions">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 8</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T10:23:44.0073624+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 3</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 7</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T10:23:44.0073624+00:00</UpdatedDate>
  <AddRemoveRegionInSubAccount>
    <AddRemoveRegionInSubAccountViewModel>
      <RegionActionOnSubAccount>Add</RegionActionOnSubAccount>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </AddRemoveRegionInSubAccountViewModel>
    <AddRemoveRegionInSubAccountViewModel>
      <RegionActionOnSubAccount>Add</RegionActionOnSubAccount>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </AddRemoveRegionInSubAccountViewModel>
  </AddRemoveRegionInSubAccount>
  <Color xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Elements">
    <d2p1:Gradient>sample string 2</d2p1:Gradient>
    <d2p1:HexValue>sample string 1</d2p1:HexValue>
    <d2p1:RgbValue>
      <d2p1:A>sample string 4</d2p1:A>
      <d2p1:B>sample string 3</d2p1:B>
      <d2p1:G>sample string 2</d2p1:G>
      <d2p1:R>sample string 1</d2p1:R>
    </d2p1:RgbValue>
  </Color>
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>
</RegionsViewModel>

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.