{
    "FatApi": "1.0",
    "info": {
        "title": "Tripmata Messaging",
        "description": "The missing messaging module for TripMata"
    },
    "servers": [
        {
            "url": "https:\/\/messaging.tripmata.com\/api",
            "description": "Base URL",
            "version": ""
        }
    ],
    "resources": [
        "Contact",
        "Message",
        "Misconduct"
    ],
    "paths": {
        "Contact": {
            "v1": {
                "doc": "<section class=\"no-start-list\"><ul>\n<li>In this section, we've covered everything that has to do with managing and creating contact lists, adding and removing contact information from a contact list.<\/li>\n<\/ul>\n<\/section>",
                "method": {
                    "GetContactLists:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you fetch all contact lists for a single creator.<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all contact lists\",\n    \"Data\": [\n        {\n            \"ID\": \"1\",\n            \"Category\": {\n                \"ID\": \"2\",\n                \"Category\": \"email\"\n            },\n            \"Name\": \"Users\"\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get contact lists",
                                    "This is the service method for this request header"
                                ],
                                "x-meta-id": [
                                    "< identityid >",
                                    "This is the identityID for the creator of the contact list."
                                ]
                            }
                        }
                    },
                    "GetContacts:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you fetch all contact for a single creator.<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all contact\",\n    \"Data\": [\n        {\n            \"ID\": \"4\",\n            \"Name\": \"Samuel Eto\",\n            \"Value\": \"hellosamueleto@aol.com\",\n            \"ContactList\": {\n                \"ID\": \"1\",\n                \"Category\": {\n                    \"ID\": \"2\",\n                    \"Name\": \"email\"\n                },\n                \"Name\": \"Users\"\n            },\n            \"Date\": \"2022-02-16 10:03 am\",\n            \"TimeStamp\": 1645002214\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get contacts",
                                    "This is the service method for this request header"
                                ],
                                "x-meta-id": [
                                    "< identityid >",
                                    "This is the identityID for the creator of the contact."
                                ]
                            }
                        }
                    },
                    "GetContactByListid:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This helps to generate all the contacts from a contact list by a contactList ID. use <strong>api\/{contactlistid}<\/strong><\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all contact\",\n    \"Data\": [\n        {\n            \"ID\": 4,\n            \"Name\": \"Samuel Eto\",\n            \"Value\": \"hellosamueleto@aol.com\",\n            \"ContactList\": {\n                \"ID\": 1,\n                \"Category\": {\n                    \"ID\": 2,\n                    \"Name\": \"email\"\n                },\n                \"Name\": \"Users\"\n            },\n            \"Date\": \"2022-02-16 10:03 am\",\n            \"TimeStamp\": 1645002214\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get contact by listid",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateContactList:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you create a contact list for any of the messaging categories<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "name": "required|string|notag|min:2",
                            "categoryid": "required|number|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'isCategoryValid']",
                            "identity": "required|string|min:1"
                        },
                        "verb": "POST",
                        "order": 0,
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Contact list \\\"Customers\\\" added successfully!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create contact list",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateContact:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you add a contact to a contact list that has been created.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "contactlistid": "required|number|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'isContactListValid']",
                            "identity": "required|string|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'isIdentityValid']",
                            "contact_name": "required|string|notag|min:2",
                            "contact_value": "required|string|notag|min:2"
                        },
                        "verb": "POST",
                        "order": 2,
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Contact \\\"sammy\\\" added successfully to \\\"Customers\\\"!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create contact",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "DeleteContact:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you delete a contact information.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "contactid": "required|number|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IsContactValid']",
                            "identity": "required|string|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IdentityMatchesOwner']"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"\\\"joesph\\\" deleted from contact successfully!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Delete contact",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "DeleteContactList:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help you delete a contact list information.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "contactlistid": "required|number|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'isContactListValid']",
                            "identity": "required|string|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IdentityMatchesOwner']"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"\\\"SMS\\\" deleted from contact list successfully!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Delete contact list",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "UpdateContact:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help update a contact information, either contact_name or contact_value can be sent. The both are not entriely required.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "contactid": "required|number|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IsContactValid']",
                            "identity": "required|string|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IdentityMatchesOwner']",
                            "contact_name": "string",
                            "contact_value": "string"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Contact information updated successfully!\",\n    \"Data\": {\n        \"ContactName\": \"frank\",\n        \"ContactValue\": \"09011221122\"\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Update contact",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "UpdateContactList:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>.. Your documentation content goes in here.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "contactlistid": "required|number|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'isContactListValid']",
                            "identity": "required|string|min:1|method:['Resources\\Contact\\v1\\Data\\GeneralQuery', 'IdentityMatchesOwner']",
                            "name": "string",
                            "categoryid": "string"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Contact list updated successfully!\",\n    \"Data\": {\n        \"ContactListName\": \"Users\",\n        \"Category\": {\n            \"ID\": \"2\",\n            \"Category\": \"email\"\n        }\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Contact",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Update contact list",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "Message": {
            "v1": {
                "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help in collecting a report of messages sent via email or SMS, Scheduling, allocating and much more.<\/li>\n<\/ul>\n<\/section>",
                "method": {
                    "GetSmsMessages:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch the sms messages for an account, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identity}<\/em><\/strong>. You can also add to your request a status type. See a list below<ul>\n<li><h3>Status Codes<\/h3>\n<p>   1 =&gt; Pending\n   2 =&gt; Sent\n   4 =&gt; Failed<\/p>\n<\/li>\n<li>So therefore, in your request just add a query param as such <strong><em>?status=1,2,4<\/em><\/strong> to filter by any of the status codes.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing SMS message[s] for \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"7\",\n            \"Subject\": \"Tripmata\",\n            \"Reciever\": \"070xxxxxxxx\",\n            \"Message\": \"This is a test message\",\n            \"Status\": {\n                \"ID\": 2,\n                \"Name\": \"sent\"\n            },\n            \"Transport\": \"KudiSMS\",\n            \"Charges\": \"4.00\",\n            \"Date\": {\n                \"Created\": \"1645995899\",\n                \"Updated\": null\n            }\n        }\n    ]\n}",
                            "404": "{\n    \"Status\": false,\n    \"Code\": 404,\n    \"Flag\": \"RES_FAILED\",\n    \"Message\": \"No SMS record to show for this identity ID \\\"hsysyiwas\\\"\"\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get sms messages",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetEmailMessages:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch the email messages for an account, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identity}<\/em><\/strong>. You can also add to your request a status type. See a list below<ul>\n<li><h3>Status Codes<\/h3>\n<p>   1 =&gt; Pending\n   2 =&gt; Sent\n   4 =&gt; Failed<\/p>\n<\/li>\n<li>So therefore, in your request just add a query param as such <strong><em>?status=1,2,4<\/em><\/strong> to filter by any of the status codes.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing Email message[s] for \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"29\",\n            \"Subject\": \"Tripmata [Messaging Module]\",\n            \"Reciever\": \"support@tripmata.com\",\n            \"Message\": \"Hello <h1>Tripmata<\\\/h1> This is a test message from the messaging module.\",\n            \"Status\": {\n                \"ID\": 3,\n                \"Name\": \"completed\"\n            },\n            \"Transport\": \"SymfonyMailer\",\n            \"Charges\": \"0.00\",\n            \"Date\": {\n                \"Created\": \"1646042402\",\n                \"Updated\": \"1646042406\"\n            }\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get email messages",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetSingleTemplate:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch a single template by the template UID, you need to add to your url path the template UID.\n   Example <strong><em>api\/{template_uid}<\/em><\/strong>.<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing template information\",\n    \"Data\": {\n        \"ID\": 2,\n        \"Name\": \"Welcome\",\n        \"Subject\": \"Welcome to Tripmata\",\n        \"Category\": {\n            \"ID\": 1,\n            \"Name\": \"sms\"\n        },\n        \"Template\": \"Hello {name}, we are happy to have you on board. Please feel free to contact us for any questions.\",\n        \"UID\": \"jc926e21fda1b7i5ed\",\n        \"Date\": 1646096524\n    }\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get single template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetSmsTemplates:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all sms templates for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing SMS Templates for \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": 2,\n            \"Name\": \"Welcome\",\n            \"Subject\": \"Welcome to Tripmata\",\n            \"Category\": {\n                \"ID\": 1,\n                \"Name\": \"sms\"\n            },\n            \"Template\": \"Hello {name}, we are happy to have you on board. Please feel free to contact us for any questions.\",\n            \"UID\": \"jc926e21fda1b7i5ed\",\n            \"Date\": 1646096524\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get sms templates",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetEmailTemplates:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all email templates for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing Email Templates for \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": 3,\n            \"Name\": \"Welcome\",\n            \"Subject\": \"Welcome to Tripmata\",\n            \"Category\": {\n                \"ID\": 2,\n                \"Name\": \"email\"\n            },\n            \"Template\": \"Hello {name}, we are happy to have you on board. Please feel free to contact us for any questions.\",\n            \"UID\": \"ced208f3de60ija96b\",\n            \"Date\": 1646096766\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get email templates",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetMessageTemplates:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all message templates for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing Message Templates for \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": 4,\n            \"Name\": \"reservation\",\n            \"Subject\": \"Reservation Made\",\n            \"Category\": {\n                \"ID\": 4,\n                \"Name\": \"internal\"\n            },\n            \"Template\": \"Hello {name}, your reservation has been made successfully. Please contact our customer care @ +23400000000 for futher enquires.\",\n            \"UID\": \"c4f4jde558b43a4die\",\n            \"Date\": 1646141010\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get message templates",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetMessageReplies:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all internal message replies, you need to add to your url path the message UID.\n   Example <strong><em>api\/{messageuid}<\/em><\/strong>.<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all message replies for \\\"e62d7373324e81a5i1f36j06bc4d\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"cd0462a405462ebi333fj1d7e551\",\n            \"Sender\": \"tripmata\",\n            \"Receiver\": \"sjsujeoss\",\n            \"Message\": \"Thanks for the message. I really do appreciate\",\n            \"Date\": 1646231035\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get message replies",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetInternalMessagesSent:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all internal messages sent for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get internal messages sent",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetInternalMessagesReceived:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all internal messages received for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get internal messages received",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetMessagesStats:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all messages statistics for a user or corportate entity, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>.<ul>\n<li>In your request, you can also add additional query param such <strong><em>?name=checkin<\/em><\/strong> to filter by the template name.<\/li>\n<li><h5>More query parameters<\/h5>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data\n   *<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing statistics\",\n    \"MessageReceived\": 0,\n    \"MessageSent\": 0,\n    \"MisconductReceived\": 3,\n    \"MisconductSent\": 0\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get messages stats",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CheckSmsSenderId:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would return the current sms sender id for an identifier.<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Check sms sender id",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "SendSms:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>You can send a message to phone with any of the preinstalled transports. To change the default transport, set 'x-sms-transport' to your preffered option in your request header.\n   Avaliable transport options are:<ol>\n<li>BulkSmsNigeria<\/li>\n<li>KudiSMS<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "sender": "required|string|min:2",
                            "phone": "required|string|notag|min:2",
                            "message": "required|string|notag|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Your message has been sent successfully!\",\n    \"Balance\": 82,\n    \"Channel\": \"KudiSMS\",\n    \"Cost\": 4\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send sms",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "SendEmail:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to send an email to a guest, property admin or super admin.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "subject": "required|string|min:1",
                            "to": "required|email|min:7",
                            "message": "required|string|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Your message has been sent successfully!\",\n    \"To\": \"helloamadiify@gmail.com\",\n    \"Channel\": \"SymfonyMailer\",\n    \"Cost\": 0\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send email",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "AllocateSmsUnit:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to allocate sms unit to a company or individual.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "sms_unit": "required|float|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"SMS Unit allocated successfully\",\n    \"Info\": {\n        \"OldBalance\": 82,\n        \"NewBalance\": 102\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Allocate sms unit",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "assignSenderId:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to assign a sender ID to a company or individual.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "senderid": "required|string|notag|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Assign sender id",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CheckSmsUnitBalance:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would return the current sms unit balance for an identifier.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing your SMS balance\",\n    \"Info\": {\n        \"Balance\": 0,\n        \"Customer\": \"Tempta Limited\"\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Check sms unit balance",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "SendEmailTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to send an email template to a guest, property admin or super admin. <strong><em>\"placeholders\"<\/em><\/strong> in your request body should follow this format <strong><em>{\"{placeholder}\" : \"Name here\"}<\/em><\/strong> and must be a valid JSON string.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "to": "required|email|min:7",
                            "placeholders": "required|json|min:5",
                            "templateUID": "required|string|min:5"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Your message has been sent successfully!\",\n    \"To\": \"hellosupport@test.com\",\n    \"Channel\": \"SymfonyMailer\",\n    \"Cost\": 0\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send email template",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "SendSmsTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to send an sms template to a guest, property admin or super admin. <strong><em>\"placeholders\"<\/em><\/strong> in your request body should follow this format <strong><em>{\"{placeholder}\" : \"Name here\"}<\/em><\/strong> and must be a valid JSON string.\n   *<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "phone": "requiredAQ|string|notag|min:7",
                            "placeholders": "required|json|min:5",
                            "templateUID": "required|string|min:5"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "404": "{\n    \"Status\": false,\n    \"Code\": 404,\n    \"Flag\": \"RES_FAILED\",\n    \"Message\": \"Could not send SMS. Please check back or try again!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send sms template",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "SendInternalMessage:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with sending internal messages. These messages can be retrived using the 'get sent messages' or 'get received messages' method<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "subject": "required|string|min:2",
                            "sender": "required|string|min:1",
                            "receiver": "required|string|min:2",
                            "message": "required|min:2",
                            "attachments": [
                                "file:optional",
                                ""
                            ]
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Internal message submitted successfully!\",\n    \"Data\": {\n        \"ID\": \"e62d7373324e81a5i1f36j06bc4d\",\n        \"Sender\": \"sjsujeoss\",\n        \"Receiver\": \"tripmata\",\n        \"Message\": \"This is an internal message sample, and it works\",\n        \"Date\": 1646230516\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send internal message",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "ReplyToInternalMessage:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with sending a reply to an internal message. These replies can be retrived using the 'get message replies' method<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "sender": "required|string|min:1",
                            "receiver": "required|string|min:2",
                            "message": "required|min:2",
                            "messageuid": "required|string|min:7"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Internal message reply submitted successfully!\",\n    \"Data\": {\n        \"ID\": \"cd0462a405462ebi333fj1d7e551\",\n        \"Sender\": \"tripmata\",\n        \"Receiver\": \"sjsujeoss\",\n        \"Message\": \"Thanks for the message. I really do appreciate\",\n        \"Date\": 1646231035\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Reply to internal message",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "SendBulkEmails:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to send an external bulk email to multiple individuals.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "json_document": "required|string|min:7"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Your message has been sent successfully!\",\n    \"To\": [\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Eghe\",\n            \"message\": \"This is a custom message Eghe, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Nnamdi\",\n            \"message\": \"This is a custom message Nnamdi, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Grace\",\n            \"message\": \"This is a custom message Grace, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Roli\",\n            \"message\": \"This is a custom message Roli, How are you?\"\n        },\n        {\n            \"email\": \"ken.xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Kenechukwu\",\n            \"message\": \"This is a custom message Kenechukwu, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@badagryports.com\",\n            \"subject\": \"Hello Justin\",\n            \"message\": \"This is a custom message Justin, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Gng\",\n            \"message\": \"This is a custom message Gng, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Emmanuel \",\n            \"message\": \"This is a custom message Emmanuel , How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello USMAN \",\n            \"message\": \"This is a custom message USMAN , How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Oar\",\n            \"message\": \"This is a custom message Oar, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello OLADELE\",\n            \"message\": \"This is a custom message OLADELE, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Deola\",\n            \"message\": \"This is a custom message Deola, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Kenneth\",\n            \"message\": \"This is a custom message Kenneth, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello ENGJEMO\",\n            \"message\": \"This is a custom message ENGJEMO, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Chibuzor\",\n            \"message\": \"This is a custom message Chibuzor, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Firdaus\",\n            \"message\": \"This is a custom message Firdaus, How are you?\"\n        },\n        {\n            \"email\": \"queen.xxxxxxxxx@yahoo.com\",\n            \"subject\": \"Hello Queen \",\n            \"message\": \"This is a custom message Queen , How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@outlook.com\",\n            \"subject\": \"Hello ADE\",\n            \"message\": \"This is a custom message ADE, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Oluwarotimi\",\n            \"message\": \"This is a custom message Oluwarotimi, How are you?\"\n        },\n        {\n            \"email\": \"xxxxxxxxx@gmail.com\",\n            \"subject\": \"Hello Ifeanyi\",\n            \"message\": \"This is a custom message Ifeanyi, How are you?\"\n        }\n    ],\n    \"Channel\": \"SymfonyMailer\",\n    \"Cost\": 0\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send bulk emails",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "SendBulkSms:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help to send an external bulk sms to multiple individuals.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "json_document": "required|string|min:7"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Send bulk sms",
                                    "This is the service method for this request header"
                                ],
                                "x-message-schedular": [
                                    "YYYY-MM-DD HH:MM",
                                    "This would help schedule the message for later time. eg. 2022-02-22 04:15, where HH is 24 hours"
                                ]
                            }
                        }
                    },
                    "CreateSmsTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would create an SMS template with a unqiue UID for a user or corporate entity.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "name": "required|string|min:2",
                            "subject": "required|string|notag|min:2",
                            "trigger": [
                                "string|notag",
                                ""
                            ],
                            "body": "required|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"SMS Template created successfully!\",\n    \"UID\": \"jc926e21fda1b7i5ed\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create sms template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateEmailTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>.. Your documentation content goes in here.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "name": "required|string|min:2",
                            "subject": "required|string|notag|min:2",
                            "trigger": [
                                "string|notag",
                                ""
                            ],
                            "body": "required|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create email template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateSmsUnitRecord:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>You can create an sms unit record for a company using a unique identity ID. By default, we would send a low sms alert when the unit is less than 50.\n   To turn off this feature, set 'low_unit_alert' to zero (0)<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "low_unit_alert_phone": "required|string|min:2",
                            "low_unit_alert": [
                                "required|number|min:1",
                                1
                            ],
                            "company_name": "required|string|notag|min:2",
                            "company_email": "required|email|notag|min:5"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"SMS Account created for \\\"Tempta Limited\\\"\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create sms unit record",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateEmailAccount:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This would help identify a user who is permitted to send emails using this channel.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "from_email": "required|email|min:7",
                            "company_name": "required|string|notag|min:2",
                            "allow_outbound": [
                                "required|number|min:1",
                                1
                            ]
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Email Account created for \\\"Tripmata Inc\\\"\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create email account",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "CreateMessageTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method would help you create internal message templates that can be re-used for chat windows, or for special events or triggers.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "name": "required|string|min:2",
                            "subject": "required|string|notag|min:2",
                            "trigger": [
                                "string|notag",
                                ""
                            ],
                            "body": "required|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Message Template created successfully!\",\n    \"UID\": \"c4f4jde558b43a4die\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Create message template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "DeleteTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method would help delete a template<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "templateUID": "required|string|min:5"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Template deleted successfully\",\n    \"Data\": {\n        \"ID\": 3,\n        \"Name\": \"Welcome\",\n        \"Subject\": \"Welcome to Tripmata\",\n        \"Category\": {\n            \"ID\": 2,\n            \"Name\": \"email\"\n        },\n        \"Template\": \"Hello {name}, we are happy to have you on board. Please feel free to contact us for any questions.\",\n        \"UID\": \"ced208f3de60ija96b\",\n        \"Date\": 1646096766\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Delete template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "UpdateTemplate:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with updating a template.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "templateUID": "required|string|min:5",
                            "categoryid": "required|number|method:['Resources\\Message\\v1\\Data\\GeneralQuery', 'CheckCategoryId']",
                            "name": [
                                "string|notag|optional",
                                ""
                            ],
                            "subject": [
                                "string|notag|optional",
                                ""
                            ],
                            "trigger": [
                                "string|notag",
                                ""
                            ],
                            "body": [
                                "string|optional",
                                ""
                            ]
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Template Updated Successfully\",\n    \"Data\": {\n        \"ID\": 2,\n        \"Name\": \"checkin\",\n        \"Subject\": \"Hello {name}\",\n        \"Category\": {\n            \"ID\": 1,\n            \"Name\": \"sms\"\n        },\n        \"Template\": \"Hello {name}, we are happy to have you on board. Please feel free to contact us for any questions.\",\n        \"UID\": \"jc926e21fda1b7i5ed\",\n        \"Date\": 1646096524\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Message",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Update template",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "Misconduct": {
            "v1": {
                "doc": "<section class=\"no-start-list\"><ul>\n<li>.. Your documentation content goes in here.<\/li>\n<\/ul>\n<\/section>",
                "method": {
                    "GetManagerReports:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports for all the managerx\/properties. To complete this process, you need to add to your url path the reciever ID.\n   Example <strong><em>api\/{reciever}<\/em><\/strong>. Where <strong><em>reciever<\/em><\/strong> would be the <strong>report_to<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all submitted manager misconduct reports\",\n    \"Data\": [\n        {\n            \"ID\": \"fe4dcj37i81bead253\",\n            \"Classification\": {\n                \"ID\": 2,\n                \"Name\": \"manager\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155308,\n            \"Identity\": \"yssmsidl\"\n        },\n        {\n            \"ID\": \"5625bdc0ede7aji0f6\",\n            \"Classification\": {\n                \"ID\": 2,\n                \"Name\": \"manager\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155321,\n            \"Identity\": \"yssmsidl\"\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get manager reports",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetGuestReports:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports for all the guests. To complete this process, you need to add to your url path the reciever ID.\n   Example <strong><em>api\/{reciever}<\/em><\/strong>. Where <strong><em>reciever<\/em><\/strong> would be the <strong>report_to<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data\n   *<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all submitted guests misconduct reports\",\n    \"Data\": [\n        {\n            \"ID\": \"2cfee9j4b4adi81d1\",\n            \"Classification\": {\n                \"ID\": 1,\n                \"Name\": \"guest\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155236,\n            \"Identity\": \"yssmsidl\"\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get guest reports",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetGroupReports:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports to a body. To complete this process, you need to add to your url path the reciever ID.\n   Example <strong><em>api\/{reporting_to}<\/em><\/strong>. Where <strong><em>reporting_to<\/em><\/strong> would be the <strong>reporting_to<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=0,4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data\n   *<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get group reports",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetGuestReportsToManager:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports submitted by a guest to a manager. To complete this process, you need to add to your url path the manager ID.\n   Example <strong><em>api\/{managerid}<\/em><\/strong>. Where <strong><em>managerid<\/em><\/strong> would be the <strong>reporting<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all submitted guests misconduct reports to \\\"hsysyiwa\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"2cfee9j4b4adi81d1\",\n            \"Classification\": {\n                \"ID\": 1,\n                \"Name\": \"guest\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155236,\n            \"Identity\": \"yssmsidl\"\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get guest reports to manager",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetGuestReportsAganistManager:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports submitted by a guest against a manager. To complete this process, you need to add to your url path the manager ID.\n   Example <strong><em>api\/{managerid}<\/em><\/strong>. Where <strong><em>managerid<\/em><\/strong> would be the <strong>reporting<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get guest reports aganist manager",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetGuestReportsByManager:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports submitted by a manager. To complete this process, you need to add to your url path the manager ID.\n   Example <strong><em>api\/{managerid}<\/em><\/strong>. Where <strong><em>managerid<\/em><\/strong> would be the <strong>reporting<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": [],
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get guest reports by manager",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetManagerReportsByGuest:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct reports submitted by a guest. To complete this process, you need to add to your url path the identity ID.\n   Example <strong><em>api\/{identityid}<\/em><\/strong>. Where <strong><em>identityid<\/em><\/strong> would be the <strong>identity<\/strong> value from your request body during the creation of a misconduct report.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all submitted guests misconduct reports submitted by \\\"yssmsidl\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"fe4dcj37i81bead253\",\n            \"Classification\": {\n                \"ID\": 2,\n                \"Name\": \"manager\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155308,\n            \"Identity\": \"yssmsidl\"\n        },\n        {\n            \"ID\": \"5625bdc0ede7aji0f6\",\n            \"Classification\": {\n                \"ID\": 2,\n                \"Name\": \"manager\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155321,\n            \"Identity\": \"yssmsidl\"\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get manager reports by guest",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "GetMisconductReplies:GET": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>To fetch all misconduct replies. To complete this process, you need to add to your url path the misconduct ID.\n   Example <strong><em>api\/{misconductid}<\/em><\/strong>. Where <strong><em>misconductid<\/em><\/strong> would be the <strong>misconductid<\/strong> value from your request body during the creation of a misconduct reply.<ul>\n<li><p>   ##### More query parameters<\/p>\n<ol>\n<li>?sort=asc or desc<\/li>\n<li>?column=* or name,age etc<\/li>\n<li>?limit=4 or more<\/li>\n<li>?sortby=column|asc or desc<\/li>\n<li>?rowid={0-9 or string} <\/li>\n<li>?search=column|data<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>",
                        "input": [],
                        "verb": "GET",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Showing all submitted misconduct replies for \\\"2cfee9j4b4adi81d1\\\"\",\n    \"Data\": [\n        {\n            \"ID\": \"cfaj311d7d584e3eib\",\n            \"Identity\": \"tripmata\",\n            \"Reply\": \"Thank you for submitting your message. We would treat on this and contact you shortly!\",\n            \"Report\": {\n                \"ID\": \"2cfee9j4b4adi81d1\",\n                \"Classification\": {\n                    \"ID\": 1,\n                    \"Name\": \"guest\"\n                },\n                \"Name\": \"Ifeayi amadi\",\n                \"Reporting\": \"hsysyiwa\",\n                \"Message\": \"I was treated poorly and i deserve justice.\",\n                \"ReportTo\": \"tripmata\",\n                \"Date\": 1646155236,\n                \"Identity\": \"yssmsidl\"\n            },\n            \"Date\": 1646205853\n        }\n    ]\n}"
                        },
                        "request": {
                            "method": "GET",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Get misconduct replies",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "ReportGuest:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with reporting a guest misconduct<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "name": "required|string|min:2",
                            "reporting": "required|string|notag|min:2",
                            "message": "required|min:2",
                            "report_to": "required|string|notag|min:2",
                            "attachments": [
                                "file:optional",
                                ""
                            ]
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Guest misconduct report submitted successfully\",\n    \"Data\": {\n        \"ID\": \"2cfee9j4b4adi81d1\",\n        \"Classification\": {\n            \"ID\": 1,\n            \"Name\": \"guest\"\n        },\n        \"Name\": \"Ifeayi amadi\",\n        \"Reporting\": \"hsysyiwa\",\n        \"Message\": \"I was treated poorly and i deserve justice.\",\n        \"ReportTo\": \"tripmata\",\n        \"Date\": 1646155236\n    }\n}",
                            "401": "{\n    \"Status\": true,\n    \"Code\": 401,\n    \"Flag\": \"RES_WARNING\",\n    \"Message\": \"Invalid Misconduct ID, Please check and try again!\"\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Report guest",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "ReportManager:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with reporting a manager\/property misconduct<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "name": "required|string|min:2",
                            "reporting": "required|string|notag|min:2",
                            "message": "required|min:2",
                            "report_to": "required|string|notag|min:2",
                            "attachments": [
                                "file:optional",
                                ""
                            ]
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"Manager misconduct report submitted successfully\",\n    \"Data\": {\n        \"ID\": \"5625bdc0ede7aji0f6\",\n        \"Classification\": {\n            \"ID\": 2,\n            \"Name\": \"manager\"\n        },\n        \"Name\": \"Ifeayi amadi\",\n        \"Reporting\": \"hsysyiwa\",\n        \"Message\": \"I was treated poorly and i deserve justice.\",\n        \"ReportTo\": \"tripmata\",\n        \"Date\": 1646155321\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Report manager",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    },
                    "ReplyToMisconductReport:POST": {
                        "doc": "<section class=\"no-start-list\"><ul>\n<li>This method helps with replying to a misconduct report.<\/li>\n<\/ul>\n<\/section>",
                        "input": {
                            "identity": "required|string|min:1",
                            "misconductid": "required|string|min:2",
                            "message": "required|min:2"
                        },
                        "verb": "POST",
                        "order": "",
                        "response": {
                            "200": "{\n    \"Status\": true,\n    \"Code\": 200,\n    \"Flag\": \"RES_SUCCESS\",\n    \"Message\": \"A reply to this misconduct ID '2cfee9j4b4adi81d1' has been submitted successfully\",\n    \"Data\": {\n        \"ID\": \"cfaj311d7d584e3eib\",\n        \"Identity\": \"tripmata\",\n        \"Reply\": \"Thank you for submitting your message. We would treat on this and contact you shortly!\",\n        \"Report\": {\n            \"ID\": \"2cfee9j4b4adi81d1\",\n            \"Classification\": {\n                \"ID\": 1,\n                \"Name\": \"guest\"\n            },\n            \"Name\": \"Ifeayi amadi\",\n            \"Reporting\": \"hsysyiwa\",\n            \"Message\": \"I was treated poorly and i deserve justice.\",\n            \"ReportTo\": \"tripmata\",\n            \"Date\": 1646155236\n        },\n        \"Date\": 1646205853\n    }\n}"
                        },
                        "request": {
                            "method": "POST",
                            "endpoint": "https:\/\/messaging.tripmata.com\/api",
                            "header": {
                                "authorization": [
                                    "Bearer {token}",
                                    "This is your request authorization code"
                                ],
                                "x-meta-service": [
                                    "Misconduct",
                                    "This is the service name for this request header"
                                ],
                                "x-meta-method": [
                                    "Reply to misconduct report",
                                    "This is the service method for this request header"
                                ]
                            }
                        }
                    }
                }
            }
        }
    }
}