Closed allanwalpy closed 5 years ago
Example of GET /api/vacancy command:
GET /api/vacancy
[ { "id": "5e54e145-d617-462f-b173-9466292b1488", "title": "Newcomers 3", "salary": 5000, "description": "some job for newcomers", "organization": null, "organizationId": "07cc9f1a-7011-4e3e-a7da-e63a0cf839cb", "employmentType": [16], "contactPerson": { "name": "Not", "surname": "Suspicious", "thirdName": "Person" }, "contactPhone": null, "lastUpdated": 1549111973283, "createdAt": 1549111973283 }, { "id": "e9f6c2d9-c879-4612-bffc-5cbba236f36d", "title": "Newcomers 2", "salary": 5000, "description": "some job for newcomers", "organization": null, "organizationId": "07cc9f1a-7011-4e3e-a7da-e63a0cf839cb", "employmentType": [16], "contactPerson": { "name": "Not", "surname": "Suspicious", "thirdName": "Person" }, "contactPhone": null, "lastUpdated": 1549111967837, "createdAt": 1549111967837 }, { "id": "ecf77e2e-fae6-46ae-82c3-3a91fcd609b8", "title": "Newcomers 1", "salary": 5000, "description": "some job for newcomers", "organization": null, "organizationId": "07cc9f1a-7011-4e3e-a7da-e63a0cf839cb", "employmentType": [16], "contactPerson": { "name": "Not", "surname": "Suspicious", "thirdName": "Person" }, "contactPhone": null, "lastUpdated": 1549111960724, "createdAt": 1549111960724 } ]
as seen EmploymentType = [16] instead of EmploymentType = [ "FullTime" ];
EmploymentType = [16]
EmploymentType = [ "FullTime" ]
Example of
GET /api/vacancy
command:as seen
EmploymentType = [16]
instead ofEmploymentType = [ "FullTime" ]
;