Job advertisements on XING are always advertised with a salary range - either this is specified by the employer or the salary is estimated by the platform based on the industry.
[hint]
Hiding the salary band is not possible!
[/hint]
Specified by employer
Platform estimate since no salary was provided
Salaries can either be fixed or defined as a range.
FEED
The <salary> structure must be used in the XML feed. Here is an example for a salary range of €50,000 – €56,000
<?xml version="1.0"?>
<feed xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="https://dev.xing.com/jobs/xsd">
<postings>
<posting>
[…]
<salary>
<range_start>50000</range_start>
<range_end>56000</range_end>
<currency>EUR</currency>
</salary>
</posting>
</postings>
</feed>
Here is an example for a fixed salary (€55,000)
<?xml version="1.0"?>
<feed xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="https://dev.xing.com/jobs/xsd">
<postings>
<posting>
[…]
<salary>
<range_start>55000</range_start>
<range_end>55000</range_end>
<currency>EUR</currency>
</salary>
</posting>
</postings>
</feed>
For general information about the feed structure, please refer to the documentation.
API
In the API, the salary must be specified in the salary node (fixed salary) or in salary_range_start and salary_range_end (salary range). The currency is specified in the Element "currency". Please refer to the documentation for possible values.
Here is an example for a salary range of €50,000 – €56,000
curl -X POST "https://api.xing.com/vendor/jobs/postings.json" \
-d "oauth_token=$ACCESS_TOKEN" \
-d "oauth_consumer_key=$CONSUMER_KEY" \
-d "oauth_signature_method=PLAINTEXT" \
-d "oauth_signature=$CONSUMER_SECRET%26$ACCESS_TOKEN_SECRET" \
-d '{
[…]
"salary_range_start": "50000",
"salary_range_end": "56000",
"currency": "EUR",
}'
Here is an example for a fixed salary (€55,000).
curl -X POST "https://api.xing.com/vendor/jobs/postings.json" \
-d "oauth_token=$ACCESS_TOKEN" \
-d "oauth_consumer_key=$CONSUMER_KEY" \
-d "oauth_signature_method=PLAINTEXT" \
-d "oauth_signature=$CONSUMER_SECRET%26$ACCESS_TOKEN_SECRET" \
-d '{
[…]
"salary ": "55000",
"currency": "EUR",
}'
For general information about the API connection, please refer to the documentation.
If you have any further questions, please contact us at techsupport@xing.com