PUT api/CodeAndBatches/UpdateBatchRedirect
Request Information
URI Parameters
None.
Body Parameters
UpdateBatchRedirectRequestVMName | Description | Type | Additional 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": "2024-11-21T08:55:19.548832+00:00", "MobilePageId": "sample string 5", "Message": "sample string 6", "MessageRawText": "sample string 7" }, "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>2024-11-21T08:55:19.548832+00:00</Date> <Id>sample string 1</Id> <Message>sample string 6</Message> <MessageRawText>sample string 7</MessageRawText> <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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.