# Jelentkező adatainak átküldése

<mark style="color:green;">`POST`</mark>&#x20;

#### Query Parameters

| Name                                        | Type   | Description                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| jobId<mark style="color:red;">\*</mark>     | String | <p><code>'type':'string</code></p><p><code>'nullable':false</code></p><p><code>'description':'Állás azonosítója'</code></p>                                                                                                                                                                                                                                                                       |
| email<mark style="color:red;">\*</mark>     | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': false</code> </p><p><code>'description': 'A jelölt email címe'</code></p>                                                                                                                                                                                                                                                               |
| name<mark style="color:red;">\*</mark>      | String |                                                                                                                                                                                                                                                                                                                                                                                                   |
| firstname<mark style="color:red;">\*</mark> | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': false</code> </p><p><code>'description': 'Keresztnév'</code></p>                                                                                                                                                                                                                                                                        |
| lastname<mark style="color:red;">\*</mark>  | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': false</code> </p><p><code>'description': 'Vezetéknév'</code></p>                                                                                                                                                                                                                                                                        |
| phone                                       | String | <p>'<code>type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'Telefonszám'</code></p>                                                                                                                                                                                                                                                                        |
| location<mark style="color:red;">\*</mark>  | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': false</code> </p><p><code>'description': 'Jelölt címe (Város)'</code></p>                                                                                                                                                                                                                                                               |
| salary                                      | Object | <p><code>'type': 'object'</code> </p><p><code>'nullable': true</code> </p><p><code>'properties':</code></p>                                                                                                                                                                                                                                                                                       |
| amount                                      | Int    | <p><code>'type : 'int',</code> </p><p><code>'nullable': true,</code> </p><p><code>'description': 'fizetési igény összeg'</code></p>                                                                                                                                                                                                                                                               |
| type                                        | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'fizetési igény</code> </p><p><code>típus'</code> </p><p><code>'value': 'net'</code></p>                                                                                                                                                                                                        |
| currency                                    | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'fizetési igény pénznem'</code> </p><p><code>'value': 'HUF'</code></p>                                                                                                                                                                                                                          |
| period                                      | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'fizetési igény periódus'</code> </p><p><code>'value': 'monthly'</code></p>                                                                                                                                                                                                                     |
| document                                    | Object | <p><code>'type': 'object'</code> </p><p><code>'nullable': true</code> </p><p><code>'properties':</code></p>                                                                                                                                                                                                                                                                                       |
| filename<mark style="color:red;">\*</mark>  | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'A dokumentum eredeti neve'</code></p>                                                                                                                                                                                                                                                          |
| content<mark style="color:red;">\*</mark>   | String | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'A dokumentum tartalma (base64)'</code></p>                                                                                                                                                                                                                                                     |
| lang<mark style="color:red;">\*</mark>      | Int    | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'A dokumentum nyelve'</code> </p><p><code>'value': {</code> </p><p><code>'1577': 'Magyar'</code> </p><p><code>'275': Angol</code> </p><p><code>'276': 'Német'</code> </p><p><code>'1986':</code> </p><p><code>'Egyéb'</code> </p><p><code>}</code></p>                                          |
| type<mark style="color:red;">\*</mark>      | Int    | <p><code>'type': 'string'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'A dokumentum típusa'</code> </p><p><code>'value': {</code> </p><p><code>'1272': 'Motivációs levél'</code> </p><p><code>'270': 'Önéletrajz'</code> </p><p><code>'271': 'Referencia'</code> </p><p><code>'2565': 'Végzettséget vagy képzést igazoló dokumentum'</code> </p><p><code>}</code></p> |
| date<mark style="color:red;">\*</mark>      | Date   | <p><code>'type': 'date'</code> </p><p><code>'nullable': true</code> </p><p><code>'description': 'A dokumentum feltöltésének időpontja'</code></p>                                                                                                                                                                                                                                                 |

#### Headers

| Name                                           | Type   | Description |
| ---------------------------------------------- | ------ | ----------- |
| access-token<mark style="color:red;">\*</mark> | String |             |

{% tabs %}
{% tab title="200: OK Sikeres" %}

```json
"apply":{
   "response":[
      
   ],
   "message":[
      
   ],
   "errorCode":200,
   "status":"success"
}
```

{% endtab %}

{% tab title="403: Forbidden Lejárt token" %}

```json
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":"Expired token."
      }
   ],
   "errorCode":403,
   "status":"failed"
}
```

{% endtab %}

{% tab title="404: Not Found Lejárt pozíció" %}

```json
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":""
      }
   ],
   "errorCode":404,
   "status":"failed"
}
```

{% endtab %}

{% tab title="413: Payload Too Large Túl nagy kérés entitás" %}

```json
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":"Payload too large."
      }
   ],
   "errorCode":413,
   "status":"failed"
}
```

{% endtab %}

{% tab title="400: Bad Request Hibás kérés" %}

```javascript
{
   "response":[
      
   ],
   "message":[
      {
         "error":"Invalid mime type."
      }
   ],
   "errorCode":400,
   "status":"failed"
}
```

{% endtab %}

{% tab title="400: Bad Request Hibás kérés" %}

```javascript
{
   "response":[
      
   ],
   "message":[
      {
         "error":"Invalid extension."
      }
   ],
   "errorCode":400,
   "status":"failed"
}
```

{% endtab %}

{% tab title="400: Bad Request Hibás kérés" %}

```javascript
{
   "response":[
      
   ],
   "message":[
      {
         "error":"Invalid filename."
      }
   ],
   "errorCode":400,
   "status":"failed"
}
```

{% endtab %}

{% tab title="401: Unauthorized Call to authorize failed" %}

```javascript
{
   "response":[
      
   ],
   "message":[
      {
         "error":"Call to authorize failed."
      }
   ],
   "errorCode":401,
   "status":"failed"
}
```

{% endtab %}

{% tab title="429: Too Many Requests Too many requests" %}

```javascript
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":"Too many requests."
      }
   ],
   "errorCode":429,
   "status":"failed"
}
```

{% endtab %}

{% tab title="409: Conflict The user has already applied for the job" %}

```javascript
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":"The user has already applied for the job."
      }
   ],
   "errorCode":409,
   "status":"failed"
}
```

{% endtab %}

{% tab title="500: Internal Server Error Internal server error" %}

```javascript
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":""
      }
   ],
   "errorCode":500,
   "status":"failed"
}
```

{% endtab %}

{% tab title="502: Bad Gateway Bad Gateway" %}

```javascript
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":""
      }
   ],
   "errorCode":502,
   "status":"failed"
}
```

{% endtab %}

{% tab title="504: Gateway Timeout Gateway Timeout" %}

```javascript
"apply":{
   "response":[
      
   ],
   "message":[
      {
         "error":""
      }
   ],
   "errorCode":504,
   "status":"failed"
}
```

{% endtab %}
{% endtabs %}

**A jelentkezési dokumentumok az alábbi kiterjesztésekkel/MIME type-okkal érkezhetnek:**

| MIME type                                                                                                                                                      | kiterjesztés |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| application/msword; charset=binary                                                                                                                             | doc          |
| application/pdf; charset=binary                                                                                                                                | pdf          |
| application/rtf; charset=binary                                                                                                                                | rtf          |
| application/zip; charset=binary                                                                                                                                | docx         |
| application/msword application/msword; charset=binary                                                                                                          | doc          |
| application/zip; charset=binary                                                                                                                                | doc          |
| application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary                                                                        | docx         |
| application/CDFV2; charset=binary                                                                                                                              | doc          |
| application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary | docx         |
| application/pdf; charset=iso-8859-1                                                                                                                            | pdf          |
| application/pdf; charset=unknown-8bit                                                                                                                          | pdf          |
| application/pdf; charset=us-ascii                                                                                                                              | pdf          |
| application/octet-stream; charset=binary                                                                                                                       | docx         |

{% hint style="info" %}
**Fileonként 5MB**

**Összesen 50 MB**
{% endhint %}

**Az átküldött dokumentumok tulajdonságai (típus, nyelv) az alábbi végponton találhatóak meg:**

{% hint style="info" %}
<https://rest.profession.hu/parameter/atsd?api_key=2482eab138a13d5ab5f4ab96777bc70487df7cae>
{% endhint %}

{% embed url="<https://codepen.io/bence-guly-s/pen/Vwgbpdv>" %}

### PÉLDÁK

**Request**

Header

```json
{
	“access-token”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
}
```

Data

```json
{
	'jobId' : {
		'type': 'string',
		'nullable': false,
		'description': 'Állás azonosítója'
	}
	'email' : {
		'type': 'string',
		'nullable': false,
		'description': 'A jelölt email címe'
	}
            'name': {
                         'firstname': {
   	                      'type': 'string',
   	                      'nullable': false,
   	                      'description': 'Keresztnév'
                          },
                          'lastname': {
   	                       'type': 'string',
   	                       'nullable': false,
   	                       'description': 'Vezetéknév'
                           }
          }
          'phone' : {
                   'type': 'string',
                    'nullable': true,
                    'description': 'Telefonszám'
            }
	'location': {
		'type': 'string',
		'nullable': false,
		'description': 'Jelölt címe (Város)'
	}
	"salary": 
	{
		'type': 'object',
		'nullable': true,
		'properties': {
			'amount': {
				'type : 'int',
				'nullable': true,
				'description': 'fizetési igény összeg',
			},
			'type': {
				'type': 'string',
				'nullable': true,
				'description': 'fizetési igény típus',
				'value': 'net'
			},
			'currency': {
				'type': 'string',
				'nullable': true,
				'description': 'fizetési igény pénznem',
				'value': 'HUF'
			},
			'period': {
				'type': 'string',
				'nullable': true,
				'description': 'fizetési igény periódus',
				'value': 'monthly'
			}
		}
	}
	'document': {
		'type': 'object',
		'nullable': true,
		'properties': {
			'filename': {
				'type': 'string',
				'nullable': true,
				'description': 'A dokumentum eredeti neve'
			},
			'content': {
				'type': 'string',
				'nullable': true,
				'description': 'A dokumentum tartalma (base64)'
			},
			'lang': {
				'type': 'string',
				'nullable': true,
				'description': 'A dokumentum nyelve',
				'value': {
					'1577': 'Magyar',
					'275': Angol,
					'276': 'Német',
					'1986': 'Egyéb'
				}
			},
			'type': {
				'type': 'string',
				'nullable': true,
				'description': 'A dokumentum típusa',
				'value': {
					'1272': 'Motivációs levél',
					'270': Önéletrajz,
					'271': 'Referencia',
					'2565': 'Végzettséget vagy képzést igazoló dokumentum'
				}
			},
			'date: {
				'type': 'date',
				'nullable': true,
				'description': 'A dokumentum feltöltésének időpontja'
			}
		}
	}
}

```

**1.Response**

* HTTP status code: 200
* Description: Sikeres

```json
"apply": {
    "response": [],
    "message": [],
    "errorCode": 200,
    "status": "success"
}
```

**2.Response**

* HTTP status code: 403
* Description: Sikertelen - Forbidden - lejárt Token

```json
"apply": {
    "response": [],
    "message": [{"error": "Call to apply failed."}],
    "errorCode": 403,
    "status": "failed"
} 
```

**3.Response**

* HTTP status code: 413
* Description: Sikertelen - 413 Request Entity Too Large - Túl nagy kérés entitás

```json
"apply": {
    "response": [],
    "message": [{"error": "Call to apply failed."}],
    "errorCode": 413,
    "status": "failed"
} 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev-connect.profession.hu/jeloltkezeles/jelentkezo-adatainak-atkuldese.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
