> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.insurgateway.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.insurgateway.com/_mcp/server.

# Change Waiting Information Stage

POST https://testgatewayapi.insurapps.net/api/Offline/jobs/{jobId}/WaitingInformation
Content-Type: application/json

## Bilgi Bekleniyor Aşamasını Değiştir

### Endpoint Bilgileri

| Alan              | Değer                                                     |
| ----------------- | --------------------------------------------------------- |
| **Method**        | `POST`                                                    |
| **URL**           | `{{baseUrl}}/api/Offline/jobs/{jobId}/WaitingInformation` |
| **Content-Type**  | `application/json`                                        |
| **Yetkilendirme** | Bearer Token + `Update` politikası                        |

***

Bir işi bilgi bekleniyor aşamalarına alır veya bu aşamadan çıkarır. Üç geçişin tamamı tek endpoint üzerinden yapılır; hedef aşama `JobActionType` alanıyla seçilir.

> Bu geçişler **her aşamadan** yapılabilir; kaynak aşama kısıtı yoktur.

***

### Hedef Aşamalar

| `JobActionType` | Aşama                              | Anlamı                      | İş Durumu                |
| --------------- | ---------------------------------- | --------------------------- | ------------------------ |
| `16`            | `WaitingForInformationFromCompany` | Kurum İçi Bilgi Bekleniyor  | `Paused` (duraklatılır)  |
| `17`            | `WaitingForInformationFromAgent`   | Kurum Dışı Bilgi Bekleniyor | `Paused` (duraklatılır)  |
| `18`            | `WaitingForInfoCancel`             | Bilgi Bekleniyor İptal      | `InProcess` (devam eder) |

***

### Route Parametreleri

| Parametre | Tip       | Zorunlu | Açıklama                               |
| --------- | --------- | ------- | -------------------------------------- |
| `jobId`   | `integer` | Evet    | Aşaması değiştirilecek işin Id bilgisi |

***

### Kimlik Doğrulama

Geçerli bir bearer token gerektirir. Token şunları içermelidir:

* Tanınan bir rol (`InsuranceCompanyAPIUser`, `InsuranceCompanyAPIAdmin` veya `Supervizor`)
* İlgili route için `Update` yetkisi
* Geçerli bir sigorta şirketi ataması
* Çözümlenebilir bir kullanıcı kimliği

> `InsuranceCompanyAPIUser` yalnızca kendi sahibi olduğu işlerde aksiyon alabilir. `InsuranceCompanyAPIAdmin` ve `Supervizor` şirketin tüm işlerine erişebilir.

***

### İstek Modeli — `WaitingInformationRequest`

| Alan            | Tip       | Zorunlu | Açıklama                           | Doğrulama                                                                                                                                            |
| --------------- | --------- | ------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `JobActionType` | `integer` | Evet    | Hedef aşama (`16`, `17` veya `18`) | Tanımlı bir değer olmalı: `"JobActionType must be one of WaitingForInformationFromCompany, WaitingForInformationFromAgent or WaitingForInfoCancel."` |
| `Message`       | `string`  | Koşullu | Durum notu                         | Maks. 1000 karakter: `"Message cannot exceed 1000 characters."`                                                                                      |

> `JobId` gövdeden alınmaz; route parametresinden set edilir. 0'dan büyük olmalıdır: `"JobId must be greater than zero."`
>
> `Message` alanı, kısıtlı sigorta şirketleri için `17` (Kurum Dışı Bilgi Bekleniyor) geçişinde **zorunludur** — detay aşağıda.

***

### İş Kuralları

State geçişi sırasında aşağıdaki kontroller yapılır:

1. Aksiyonu alan kullanıcı işin sahibi olmalıdır ya da şirket admini/supervizör olmalıdır.
2. `17` (Kurum Dışı Bilgi Bekleniyor) geçişinde, işin sigorta şirketi kısıtlı şirketler listesindeyse `Message` boş olamaz.

> Kısıtlı şirketler listesi `portal` ayar grubundaki `restrict-waitingforinformationfromagent-null-msg` ayarından okunur; virgülle ayrılmış sigorta şirketi Id listesidir. Listede olmayan şirketler için `Message` opsiyoneldir.

***

### Yanıt

#### `204 No Content` — Başarılı Yanıt

Gövde boştur.

***

### Hata Senaryoları

#### `400 Bad Request` — Doğrulama Hatası

İstek modeli doğrulamadan geçemediğinde döner. Hatalı alanlar `Response` içinde listelenir.

```json
{
  "Status": false,
  "Code": "Validation.General",
  "Message": "One or more validation errors occurred",
  "Response": [
    {
      "Field": "JobActionType",
      "Message": "JobActionType must be one of WaitingForInformationFromCompany, WaitingForInformationFromAgent or WaitingForInfoCancel."
    }
  ]
}

```

***

#### `403 Forbidden` — Geçerli Sigorta Şirketi Ataması Bulunamadı

Token'da geçerli bir sigorta şirketi ataması bulunmadığında döner.

```json
{
  "Status": false,
  "Code": "OfflineUsers.InsuranceCompanyNotFound",
  "Message": "No valid insurance company assignment found in token.",
  "Response": null
}

```

***

#### `403 Forbidden` — Kullanıcı Kimliği Çözümlenemedi

Token'dan kullanıcı kimliği okunamadığında döner.

```json
{
  "Status": false,
  "Code": "OfflineUsers.UserIdentityNotResolved",
  "Message": "User identity could not be resolved from token.",
  "Response": null
}

```

***

#### `403 Forbidden` — İşe Erişim Reddedildi

İş, çağıranın sahipliğinde değilse döner.

```json
{
  "Status": false,
  "Code": "OfflineJobs.JobOwnershipDenied",
  "Message": "You do not have permission to access this job.",
  "Response": null
}

```

***

#### `403 Forbidden` — Rol veya Yetki Yetersiz

Kullanıcı tanınan rollerden birine sahip değilse ya da `Update` yetkisi yoksa döner. **Gövde boştur.**

***

#### `401 Unauthorized` — Token Yok veya Geçersiz

Token gönderilmediğinde, geçersiz olduğunda veya süresi dolduğunda döner. **Gövde boştur.**

***

#### `404 Not Found` — İş Bulunamadı

Belirtilen `jobId` ile bir iş bulunamadığında döner.

```json
{
  "Status": false,
  "Code": "OfflineJobs.JobNotFound",
  "Message": "No job found for the requested JobId: 100931.",
  "Response": null
}

```

***

#### `409 Conflict` — Durum Notu Zorunlu

Kısıtlı sigorta şirketleri için `17` geçişinde `Message` gönderilmediğinde döner.

```json
{
  "Status": false,
  "Code": "OfflineWaitingInformation.StateTransitionFailed",
  "Message": "Waiting-information stage transition failed: Kurum Dışı Bilgi Bekleniyor durumuna almak için 'Durum Notu' girilmesi gerekmektedir.",
  "Response": null
}

```

***

#### `409 Conflict` — Aksiyon Yetkisi Yok

Kullanıcı işin sahibi değilse ve şirket admini/supervizör de değilse döner.

```json
{
  "Status": false,
  "Code": "OfflineWaitingInformation.StateTransitionFailed",
  "Message": "Waiting-information stage transition failed: İstekte bulunulan (100931) numaralı iş için yalnızca 'İş Sahibi' veya 'Admin' kullanıcısı aksiyon alabilir!",
  "Response": null
}

```

***

#### `500 Internal Server Error` — Beklenmeyen Hata

Geçiş sırasında iş kuralı dışında bir hata oluştuğunda döner.

```json
{
  "Status": false,
  "Code": "JobState.TransitionError",
  "Message": "An unexpected error occurred during job state transition.",
  "Response": null
}

```

Reference: https://docs.insurgateway.com/insurgateway-api/offline/change-waiting-information-stage

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://testgatewayapi.insurapps.net` (https://testgatewayapi.insurapps.net, default)
- `https://gatewayapi.insurapps.net` (https://gatewayapi.insurapps.net)

## Request

### Path parameters

- `jobId` (integer, required)

## Response

### 204

No Content

## Errors

### 400 Bad Request Error

Bad Request

### 403 Forbidden Error

Forbidden

### 404 Not Found Error

Not Found

### 409 Conflict Error

Conflict

### 500 Internal Server Error

Internal Server Error

## Examples

### Success Response - Waiting For Information From Agent

**Request**

```json
{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
```

**Response**

```json
""
```

**SDK Code**

```python Success Response - Waiting For Information From Agent
import requests

url = "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

payload = {
    "JobActionType": 17,
    "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Success Response - Waiting For Information From Agent
const url = 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"JobActionType":17,"Message":"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Success Response - Waiting For Information From Agent
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

	payload := strings.NewReader("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Success Response - Waiting For Information From Agent
require 'uri'
require 'net/http'

url = URI("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}"

response = http.request(request)
puts response.read_body
```

```java Success Response - Waiting For Information From Agent
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")
  .asString();
```

```php Success Response - Waiting For Information From Agent
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation', [
  'body' => '{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Success Response - Waiting For Information From Agent
using RestSharp;

var client = new RestClient("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success Response - Waiting For Information From Agent
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Success Response - Waiting For Information From Company

**Request**

```json
{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
```

**Response**

```json
""
```

**SDK Code**

```python Success Response - Waiting For Information From Company
import requests

url = "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

payload = {
    "JobActionType": 17,
    "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Success Response - Waiting For Information From Company
const url = 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"JobActionType":17,"Message":"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Success Response - Waiting For Information From Company
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

	payload := strings.NewReader("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Success Response - Waiting For Information From Company
require 'uri'
require 'net/http'

url = URI("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}"

response = http.request(request)
puts response.read_body
```

```java Success Response - Waiting For Information From Company
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")
  .asString();
```

```php Success Response - Waiting For Information From Company
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation', [
  'body' => '{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Success Response - Waiting For Information From Company
using RestSharp;

var client = new RestClient("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success Response - Waiting For Information From Company
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Success Response - Waiting For Info Cancel

**Request**

```json
{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
```

**Response**

```json
""
```

**SDK Code**

```python Success Response - Waiting For Info Cancel
import requests

url = "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

payload = {
    "JobActionType": 17,
    "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Success Response - Waiting For Info Cancel
const url = 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"JobActionType":17,"Message":"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Success Response - Waiting For Info Cancel
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation"

	payload := strings.NewReader("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Success Response - Waiting For Info Cancel
require 'uri'
require 'net/http'

url = URI("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}"

response = http.request(request)
puts response.read_body
```

```java Success Response - Waiting For Info Cancel
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}")
  .asString();
```

```php Success Response - Waiting For Info Cancel
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation', [
  'body' => '{
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Success Response - Waiting For Info Cancel
using RestSharp;

var client = new RestClient("https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"JobActionType\": 17,\n  \"Message\": \"Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success Response - Waiting For Info Cancel
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "JobActionType": 17,
  "Message": "Ruhsat fotokopisi ve hasarsızlık belgesi bekleniyor."
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://testgatewayapi.insurapps.net/api/Offline/jobs/1/WaitingInformation")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```