Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 /LogoCrmRest/api/v1.0/tickets/new

Headers
NameValue
Content-Type
application/json



Parameters
NameValue
SessionIdLogin işlemi başarılı bir şekilde POST edildiğinde üretilen SessionId kullanılmaktadır.
Body

#Yok

Response
CodeDescription
200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/tickets/new",
        "apiVersion": "1",
        "timeStamp": "2019-07-11T11:24:49.49"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "fe8006b1-6ac4-42b5-92ae-57b713392a5e",
            "TicketId": "T-000133",
            "TicketDescription": null,
            "TicketMainCategory": null,
            "TicketSubCategory": null,
            "TicketType": null,
            "TicketFirm": null,
            "TicketContact": null,
            "Priority": 2,
            "TicketStartDate": "2019-07-11T11:24:49.432+03:00",
            "TicketCompletedDate": "1900-01-01T00:00:00",
            "TicketEstEndDate": "1900-01-01T00:00:00",
            "AssignedTo": null,
            "AssignedDepartment": null,
            "TicketState": null,
            "IsCompleted": false,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "_CreatedBy": {
                "Oid": "0fe8cbb3-78eb-4ea5-a81b-4809210c71e8",
                "InternalPersonType": 1,
                "FirstName": "System",
                "LastName": "Administrator",
                "MiddleName": null,
                "Birthday": "1900-01-01T00:00:00",
                "Email": null,
                "UserName": "LOGO",
                "IsActive": true,
                "StoredPassword": null,
                "ChangePasswordOnFirstLogon": false,
                "UserLanguage": 1,
                "Gender": 0,
                "EMailAddress": null,
                "ERPUserName": null,
                "Caption": "System Administrator",
                "ProposalSync": 0,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-07-11T11:24:49.432+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "RecordCreateInfo": "System Administrator, 11.07.2019 11:24",
            "RecordLastUpdateInfo": "",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "AvailableSubCategories": [],
            "AvailableTicketTypes": [],
            "FirmERPId": "",
            "IsTwitterTicket": false,
            "IsMainCase": true,
            "CaseId": "T-000133",
            "ReportDisplayName": "_T-000133_"
        }
    ],
    "AppearanceRules": []
}


Destek Kaydı Ekleme

 /LogoCrmRest/api/v1.0/tickets

Headers
NameValue
Content-Typeapplication/json
Parameters
NameValue
SessionIdLogin işlemi başarılı bir şekilde POST edildiğinde üretilen SessionId kullanılmaktadır.
Body

{     
           "Oid": "61111e1e-0eff-44e9-ad78-67c03821414a",
           "TicketId": "T-000134",
           "TicketDescription": null,
           "TicketMainCategory": null,
           "TicketSubCategory": null,
           "TicketType": null,
           "TicketFirm": null,
           "TicketContact": null,
           "Priority": 2,
           "TicketStartDate": "2019-07-11T13:58:59.439+03:00",
           "TicketCompletedDate": "1900-01-01T00:00:00",
           "TicketEstEndDate": "1900-01-01T00:00:00",
           "AssignedTo": null,
           "AssignedDepartment": null,
           "TicketState": {
               "Oid": "57F1728E-95C5-4B5F-85BE-B599E3FAE981"},
           "IsCompleted": false,
           "Notes": null,
           "Tags": null,
           "NotifyUsers": null,
           "_CreatedBy": {
               "Oid": "0fe8cbb3-78eb-4ea5-a81b-4809210c71e8",
               "InternalPersonType": 1,
               "FirstName": "System",
               "LastName": "Administrator",
               "MiddleName": null,
               "Birthday": "1900-01-01T00:00:00",
               "Email": null,
               "UserName": "LOGO",
               "IsActive": true,
               "StoredPassword": null,
               "ChangePasswordOnFirstLogon": false,
               "UserLanguage": 1,
               "Gender": 0,
               "EMailAddress": null,
               "ERPUserName": null,
               "Caption": "System Administrator",
               "ProposalSync": 0,
               "IsActiveRecord": true
           },
           "_CreatedDateTime": "2019-07-11T13:58:59.439+03:00",
           "_LastModifiedBy": null,
           "_LastModifiedDateTime": "1900-01-01T00:00:00",
           "RecordCreateInfo": "System Administrator, 11.07.2019 13:58",
           "RecordLastUpdateInfo": "",
           "IsLoading": false,
           "IsDeleted": false,
           "Loading": false,
           "IsMobile": false,
           "IsModified": true,
           "IsControllerSaving": false,
           "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
           "AvailableSubCategories": [],
           "AvailableTicketTypes": [],
           "FirmERPId": "",
           "IsTwitterTicket": false,
           "IsMainCase": true,
           "CaseId": "T-000134",
           "ReportDisplayName": "_T-000134_"
       }

Response
CodeDescription
200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/tickets",
        "apiVersion": "1",
        "timeStamp": "2019-07-11T14:18:06.06"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "f2add85b-9643-4ad2-8fa2-400abe636267",
            "TicketId": "T-000134",
            "TicketDescription": null,
            "TicketStartDate": "2019-07-11T13:58:59.44",
            "TicketCompletedDate": "1900-01-01T00:00:00",
            "TicketEstEndDate": "1900-01-01T00:00:00",
            "IsCompleted": false,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "_CreatedDateTime": "2019-07-11T14:18:06.58",
            "_LastModifiedDateTime": "2019-07-11T14:18:06.627",
            "RecordCreateInfo": "System Administrator, 11.07.2019 14:18",
            "RecordLastUpdateInfo": "System Administrator, 11.07.2019 14:18",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": false,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "AvailableSubCategories": [],
            "AvailableTicketTypes": [],
            "FirmERPId": "",
            "IsTwitterTicket": false,
            "IsMainCase": true,
            "ReportDisplayName": "_T-000134_"
        }
    ],
    "AppearanceRules": []
}