GuidesAPI ReferenceChangelogDiscussions
Discussions

Discussions

Ask a Question
Back to All

Can we programatically create/update a job?

(edited)

I facing 500 server error when i send

{  
  "data": {  
    "type": "jobs",  
    "attributes": {  
      "title": "TEST LILI Consultor UX/UI (HTML + CSS + JS) - Semi Senior - CO enviado correctamente.",  
      "employment_type": "",  
      "workplace_type": "full_time",  
      "is_compensation_visible": true,  
      "compensation_currency": "COP",  
      "compensation_frequency": "",  
      "compensation_minimum": "55555",  
      "compensation_maximum": "66666",  
      "deadline_on": "2025-03-17",  
      "visibility": "",  
      "headcount_maximum_enabled": true,  
      "headcount_maximum": "2",  
      "description": " Account Moca is a company that provides specialized financial services aimed at enhancing client financial management and growth. Its purpose is to offer innovative solutions tailored to individual and corporate needs. Established with a focus on customer-centric service, Account Moca values integrity, transparency, and excellence in all its operati",  
      "key_responsibilities": "NO TENEMOS",  
      "skills_knowledge_expertise": "Test con dos perfiles diferentes",  
      "benefits": "Beneficios de la empresa que son lo máximo y son muchos",  
      "status": "draft",  
      "selected_hiring_workflow_id": "55440",  
      "resume_requirement": "optional",  
      "external_skills_knowledge_expertise_header": "NO TENEMOS Skills & Knowledge",  
      "external_benefits_header": "NO TENEMOS Benefits"  
    },  
    "relationships": {  
      "structure_link": {  
        "data": {  
          "type": "structure_links",  
          "id": "77"  
        }  
      },  
      "department": {  
        "data": {  
          "type": "departments",  
          "id": "77"  
        }  
      },  
      "custom_attributable": {  
        "data": {  
          "type": "jobs"  
        }  
      },  
      "custom_attributes": {  
        "data": [  
          {  
            "type": "custom_attributes",  
            "method": "create",  
            "temp-id": "1"  
          }  
        ]  
      }  
    }  
  },  
  "included": [  
    {  
      "type": "custom_attributes",  
      "temp-id": "1",  
      "attributes": {  
        "text_value": "recDkHcWC"  
      },  
      "relationships": {  
        "custom_field": {  
          "data": {  
            "id": "8134",  
            "type": "custom_fields"  
          }  
        }  
      }  
    }  
  ]  
}