Odessa Content Sharing  





  Register now   Forgot password ?

AddRouteDay

Use this web service for adding day of week for recurcively routes

http://localhost/CheapSender/webservices/?service=AddRouteDay

if the route is recurcively then you can add days just from 1 to 7 as day of week

[
    {             
        "route_id" : "2",        
        "day_of_week" : "1",
        "log_session_key" : "D6ECEF2F-ACB6-41EA-8914-12234CAA35622017040121490",
        "log_device_id"   : "deviceid123",
        "log_user_argent" : "Firefox",
        "log_device_type" : "APPLE_PHONE"        
    }
]

Success
{"code":"0","inserted_id":-1,"details":[]}

Error
{"code":"26","msgtext":"This day already exists on this root","short":"DayAlreadyExists"}