๐Ÿ  Home > ๐Ÿ“ฆ TaskService > ๐Ÿ“‹ TaskLookerDel

TaskLookerDel

Description

Remove a watcher from the task. signature string: string.Format("{0};{1};{2};{3}", task_id, wmid_mast, wmid_look, Secret)

Method Signature

public Int32 TaskLookerDel(
    String ServiceName,
    String Sign,
    Int32 task_id,
    String wmid_mast,
    String wmid_look
)

Parameters

ServiceName

  • Type: String
  • Direction: input

Sign

  • Type: String
  • Direction: input

task_id

  • Type: Int32
  • Direction: input

wmid_mast

  • Type: String
  • Direction: input

wmid_look

  • Type: String
  • Direction: input

Return Value

  • Type: Int32

Authentication

This method requires authentication signature.

Signature String Format

string.Format("{0};{1};{2};{3}", task_id, wmid_mast, wmid_look, Secret)

SOAP Request Example

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TaskLookerDel xmlns="http://mentor.web.money/taskservice">
      <ServiceName>ServiceName</ServiceName>
      <Sign>base64signature</Sign>
      <task_id>123</task_id>
      <wmid_mast>123456789012</wmid_mast>
      <wmid_look>123456789012</wmid_look>
    </TaskLookerDel>
  </soap:Body>
</soap:Envelope>

SOAP Response Example

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TaskLookerDelResponse xmlns="http://tempuri.org/">
      <TaskLookerDelResult>123</TaskLookerDelResult>
    </TaskLookerDelResponse>
  </soap:Body>
</soap:Envelope>

Code Examples

C# Example

var client = new TaskService();
String ServiceName = "sample string";
String Sign = "base64signature";
Int32 task_id = 123;
String wmid_mast = "123456789012";
String wmid_look = "123456789012";

var result = client.TaskLookerDel(ServiceName, Sign, task_id, wmid_mast, wmid_look);

Python Example (using zeep)

from zeep import Client

client = Client('https://your-service.com/TaskService.asmx?WSDL')

# Prepare parameters
ServiceName = 'sample string'
Sign = 'base64signature'
task_id = 123
wmid_mast = '123456789012'
wmid_look = '123456789012'

result = client.service.TaskLookerDel(ServiceName, Sign, task_id, wmid_mast, wmid_look)
print(result)

JavaScript Example (using axios)

const axios = require('axios');

const soapRequest = `
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TaskLookerDel xmlns="http://mentor.web.money/taskservice">
      <ServiceName>${ServiceName}</ServiceName>
      <Sign>${Sign}</Sign>
      <task_id>${task_id}</task_id>
      <wmid_mast>${wmid_mast}</wmid_mast>
      <wmid_look>${wmid_look}</wmid_look>
    </TaskLookerDel>
  </soap:Body>
</soap:Envelope>`;

async function call() {
  const response = await axios.post(
  'https://mentor.web.moneyTaskService.asmx',
  soapRequest,
  {
    headers: {
      'Content-Type': 'text/xml; charset=utf-8',
      'SOAPAction': '"http://mentor.web.money/taskservice/TaskLookerDel"'
    }
  }
);

  console.log(response.data);
}
call().catch(console.error);

โฌ†๏ธ Back to TaskService | ๐Ÿ  Documentation Home | ๐Ÿ’ป Code Examples

results matching ""

    No results matching ""