PUT api/CodeAndBatches/UpdateBatchRedirect

Request Information

URI Parameters

None.

Body Parameters

UpdateBatchRedirectRequestVM
NameDescriptionTypeAdditional information
BatchId

string

Required

SubAccountId

string

Required

UserId

string

Required

Redirect

GroupCodeRedirectSettingsRequestVM

None.

IsRemove

boolean

None.

IsBatchRedirectEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BatchId": "sample string 1",
  "SubAccountId": "sample string 2",
  "UserId": "sample string 3",
  "Redirect": {
    "Id": "sample string 1",
    "Type": "URL",
    "URL": "sample string 2",
    "AppendBatchAndCode": true,
    "AfterValue": 4,
    "ActivateBasedOn": "None",
    "Date": "2023-02-01T13:21:14.0968456+00:00",
    "MobilePageId": "sample string 5",
    "Message": "sample string 6"
  },
  "IsRemove": true,
  "IsBatchRedirectEnabled": true
}

application/xml, text/xml

Sample:
<UpdateBatchRedirectRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels">
  <BatchId>sample string 1</BatchId>
  <IsBatchRedirectEnabled>true</IsBatchRedirectEnabled>
  <IsRemove>true</IsRemove>
  <Redirect>
    <ActivateBasedOn>None</ActivateBasedOn>
    <AfterValue>4</AfterValue>
    <AppendBatchAndCode>true</AppendBatchAndCode>
    <Date>2023-02-01T13:21:14.0968456+00:00</Date>
    <Id>sample string 1</Id>
    <Message>sample string 6</Message>
    <MobilePageId>sample string 5</MobilePageId>
    <Type>URL</Type>
    <URL>sample string 2</URL>
  </Redirect>
  <SubAccountId>sample string 2</SubAccountId>
  <UserId>sample string 3</UserId>
</UpdateBatchRedirectRequestVM>

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.