Payload In JSON Format : |
---|
{ "operationName": "conferenceCreate", "query": "mutation conferenceCreate($input: ConferenceCreateInput!){ conferenceCreate(input:$input){ id } }", "variables": { "input": { "conferenceName": "external-api", // change with name of conference "createrEmail": "test@webkul.in", // change with creator email "start": "2022-06-08T09:15:37.377Z", // change with conference start time "end": "2022-06-18T09:15:37.377Z", // chagne with conference end time "mediaOptions": true // static value only true is accepted "agenda": "", // optional filed (provide description of conference) } } }Expected Output :
{ "data": { "conferenceCreate": { "id": "62a175e4604e59815561e9fe" // Conference Id } } }
Payload In JSON Format : |
---|
{ "operationName": "conferenceUserAdd", "query": "mutation conferenceUserAdd($id:ChatwhizzID!,$user: ConferenceUserAddInput!){ conferenceUserAdd(id:$id,user:$user){ id } } ", "variables": { "id":"62a175e4604e59815561e9fe", // change with conference Id "user": { "name": { "firstName": "dummy", // change with user first name "lastName": "" // change with user last name }, "email": "dummyuser@webkul.com" // change with user email } } }Expected Output :
{ "data": { "conferenceUserAdd": { "id": "62a175e4604e59815561e9fe" // Conference Id } } }
Payload In JSON Format : |
---|
{ "operationName": "conferenceUpdate", "query": "mutation conferenceUpdate($id:ChatwhizzID!,$input: ConferenceUpdateInput!){ conferenceUpdate(id:$id,input:$input){ id } }", "variables": { "id": "62a175e4604e59815561e9fe" // conference Id on which you want to update "input": { "conferenceName": "external-api", // updated name of conference "start": "2022-06-08T09:15:37.377Z", // updated conference start time "end": "2022-06-18T09:15:37.377Z", // updated conference end time "agenda": "", // optional filed (provide description of conference) } } }Expected Output :
{ "data": { "conferenceUpdate": { "id": "62a175e4604e59815561e9fe" // Conference Id } } }
Payload In JSON Format : |
---|
{ "operationName": "conferenceUserRemove", "query": "mutation conferenceUserRemove($id:ChatwhizzID!,$userEmail: Email!){ conferenceUserRemove(id:$id,userEmail:$userEmail){ id } }", "variables": { "id":"62a175e4604e59815561e9fe", // change with conference Id "userEmail": "test@webkul.com" // remove user email Id } }Expected Output :
{ "data": { "conferenceUserRemove": { "id": "62a175e4604e59815561e9fe" // Conference Id } } }
Payload In JSON Format : |
---|
{ "query": "query { conference(id: \"62a175e4604e59815561e9fe\") {id createdBy conferenceName status token agenda invites {email name {firstName lastName} pin userId} link start end}}", }Expected Output :
{ "data": { "conference": { "id": "62a175e4604e59815561e9fe", "createdBy": "5ebb9869660dcd1a533469e7", "conferenceName": "General Conference", "status": "PENDING", "token": "rmk1ijikzfdnk6l", "agenda": "", "invites": [ { "email": "saurabhbarnwal1998@gmail.com", "name": { "firstName": "Saurabh kumar", "lastName": "barnwal" }, "pin": "103557", "userId": "5ebb9869660dcd1a533469e7" }, { "email": "saurabhkumar.barnwal005@webkul.com", "name": { "firstName": "saurabhkumar.barnwal005", "lastName": "" }, "pin": "52246", "userId": "605aafb5c9c5286e3f434792" } ], "link": "https://admin.chatwhizz.com/conference/rmk1ijikzfdnk6l", "start": "2022-02-09T09:56:28.649Z", "end": "2022-02-10T09:56:28.649Z" } } }