4.1. Get Timezone - Lấy múi giờ ??? Mã màu mới

 



Get timezone - (D2D)
{{in-domain}}/d2d/{{instance}}/api/cus-service/htkt-timezone

{
  "InitStatus"0,
  "Supporter""SGTo PhuongNam-10",
  "SubId""300",
  "AppointmentDate""10/10/2022 00:00:00",
  "ObjId"1026422792
}

{
    "Code"200,
    "Message": {
        "Title""Thông báo",
        "Message""Thành công.",
        "ExMessage"null,
        "Popup"0
    },
    "Data": {
        "Result": [
            {
                "Timezone""08:00 - 09:00",
                "TimezoneAbility"0,
                "TimeCount"0,
                "TimezoneCode"-1,
                "TimezoneCode18"9,
                "AbilityDesc"-1,
                "ColorCode""#808080",
                "Reason""",
                "BlueDescCoreAI"0
            },
            {
                "Timezone""09:00 - 10:00",
                "TimezoneAbility"0,
                "TimeCount"0,
                "TimezoneCode"-1,
                "TimezoneCode18"10,
                "AbilityDesc"-1,
                "ColorCode""#808080",
                "Reason""",
                "BlueDescCoreAI"0
            },          
        ],
        "Pagination"null
    }
}















Get timezone - (Core)
{{in-domain}}/ftel-service/{{instance}}/api/v1.0/cus-service/htkt-timezone
{
  "InitStatus"0,
  "Supporter""SGTo PhuongNam-10",
  "SubId""300",
  "AppointmentDate""10/10/2022 00:00:00",
  "ObjId"1026422792,
  "AccountName""isc.haipv7"
}

{
    "Code"200,
    "Message": {
        "Message""Thành công.",
        "ExMessage"null
    },
    "Data": [
        {
            "Timezone""08:00 - 09:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode"-1,
            "TimezoneCode18"9,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""09:00 - 10:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode"-1,
            "TimezoneCode18"10,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },       
    ]
}





Get timezone - (insside)
{{parapiora}}/api/RPMaintaince/PartnerTimezoneAbility_List
{
    "Supporter" : "SGTo PhuongNam-10",
    "SubID" : 300,
    "AppointmentDate" : "2022-10-04",
    "ObjID" : 1026422792,
    "Date" : "2022-10-04 00:00:00",
    "LogonUser" : "isc.haipv7",
    "Init_Status" : 0,
    "RequestFrom" : 3,
    "Impact" : 0
}


{
    "data": [
        {
            "Timezone""08:00 - 09:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"9,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""09:00 - 10:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"10,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""10:00 - 11:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"11,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""11:00 - 12:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"12,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""12:00 - 13:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"13,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""13:00 - 14:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"14,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""14:00 - 15:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"15,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""15:00 - 16:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"16,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""16:00 - 17:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"17,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""17:00 - 18:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"18,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""18:00 - 19:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"19,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""19:00 - 20:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"20,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""20:00 - 21:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"21,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        },
        {
            "Timezone""21:00 - 22:00",
            "TimezoneAbility"0,
            "TimeCount"0,
            "TimezoneCode18"22,
            "TimezoneCode"-1,
            "AbilityDesc"-1,
            "ColorCode""#808080",
            "Reason""",
            "BlueDescCoreAI"0
        }
    ],
    "statusCode"200
}



API GetAbility4Days - Lấy năng lực, múi giờ tích hẹn triển khai 4 ngày của hợp đồng 
/deploy/v1/api/v1.0/appointment/get-abitity-4days

{"OrderId":862774,"OrderCode":"HCMH7NG19X55","ObjId":0,"RegId":0,"RegCode":"","WardId":259,"DistrictId":7,"LocationId":8,"PartnerId":362,"SubId":300,"AppointmentDate":"26/11/2022 00:00:00","SupId":0,"BlockId":362,"SaleChannelId":1,"SaleTeamId":2,"AccountName":"isc.vudh","AccountId":1000654073}

{"Code":200,"Message":{"Message":"Thành công.","ExMessage":null},"Data":[{"DateEffect":"26/11/2022 00:00:00","Detail":[{"TimeZone":"08:00 - 10:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"}]},{"DateEffect":"27/11/2022 00:00:00","Detail":[{"TimeZone":"08:00 - 10:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"}]},{"DateEffect":"28/11/2022 00:00:00","Detail":[{"TimeZone":"08:00 - 10:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"}]},{"DateEffect":"29/11/2022 00:00:00","Detail":[{"TimeZone":"08:00 - 10:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"}]}]}


API GetAbility4Days - Lấy năng lực, múi giờ tích hẹn triển khai 4 ngày của hợp đồng (Xuân)
http://stagparapiora.fpt.vn/api/Deployment/Deployment_GetAbility4Days
{"PartnerID":362,"SubID":300,"AppointmentDate":"2022-11-26","ObjID":0,"LogonUser":"isc.vudh","RequestFrom":5,"RegCode":"","SupId":0,"WardID":259,"DistrictID":7,"LocationID":8,"BlockId":362}

 {"data":[{"TimeZone":"08:00 - 10:00","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","DateEffect":"11/26/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"08:00 - 10:00","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","DateEffect":"11/27/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"08:00 - 10:00","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","DateEffect":"11/28/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"08:00 - 10:00","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"10:00 - 12:00","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"12:00 - 13:30","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"13:30 - 15:30","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"15:30 - 17:30","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"17:30 - 19:30","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"},{"TimeZone":"19:30 - 21:00","DateEffect":"11/29/2022 00:00:00","Ability":0,"AbilityDesc":-1,"ColorCode":"#808080"}],"statusCode":200}














Nhận xét