When a new lead is created.
Create or Update a Segment
This API is used to both create a new segment or update an existing segment....When creating a segment, the id should not be included....When updating a segment, include the id of the segment to update.