getting error while creating ticket from V3 Api

SOLVE
ashuuas
Member

i m getting error while creating Ticket from V3 and input json im prividing is this 

{
  "hs_pipeline""support_pipeline",
  "hs_pipeline_stage""open",
  "hs_ticket_priority""Low",
  "hubspot_owner_id""169525193",
  "subject""troubleshoot report"
}
 
errro message is :
{
    "status""error",
    "message""Error creating TICKET.  Some required properties were not set.",
    "correlationId""647ce681-822f-4c76-ac64-7595c4840416",
    "context": {
        "properties": [
            "hs_pipeline_stage"
        ]
    },
    "category""VALIDATION_ERROR"
}
0 Upvotes
1 Accepted solution

Accepted Solutions
dennisedson
Solution
Community Manager

@ashuuas , Try changing the hs_pipeline and hs_pipeline_stage values to their numeric ids.

eg:

{
    "properties": {
        "content": null,
        "hs_pipeline": "0",
        "hs_pipeline_stage": "1",
        "subject": "new ticket"
    }
}
Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
2 Replies 2
dennisedson
Solution
Community Manager

@ashuuas , Try changing the hs_pipeline and hs_pipeline_stage values to their numeric ids.

eg:

{
    "properties": {
        "content": null,
        "hs_pipeline": "0",
        "hs_pipeline_stage": "1",
        "subject": "new ticket"
    }
}
Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
ashuuas
Member

Yes and thankyou ..

0 Upvotes