POST api/tenant/applicant/ai-cover-letter/log

Request Information

URI Parameters

None.

Body Parameters

RecLogAiCoverLetterDraftDTOW
NameDescriptionTypeAdditional information
applicant_id

integer

Required

job_id

integer

Required

cv_id

integer

None.

tone

string

None.

prompt_tokens

integer

None.

completion_tokens

integer

None.

draft_text

string

None.

status

string

Required

error_message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "applicant_id": 1,
  "job_id": 2,
  "cv_id": 1,
  "tone": "sample string 3",
  "prompt_tokens": 1,
  "completion_tokens": 1,
  "draft_text": "sample string 4",
  "status": "sample string 5",
  "error_message": "sample string 6"
}

application/xml, text/xml

Sample:
<RecLogAiCoverLetterDraftDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.ReadOnly">
  <applicant_id>1</applicant_id>
  <completion_tokens>1</completion_tokens>
  <cv_id>1</cv_id>
  <draft_text>sample string 4</draft_text>
  <error_message>sample string 6</error_message>
  <job_id>2</job_id>
  <prompt_tokens>1</prompt_tokens>
  <status>sample string 5</status>
  <tone>sample string 3</tone>
</RecLogAiCoverLetterDraftDTOW>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RecLogAiCoverLetterDraftDTOW'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.