The problem is with the key: "Day Number"
should be @"Day Number"
.
Also note that you can now use the new syntax for your numbers, arrays, and dictionaries. For example, this
NSNumber* dayNsNumber = [[NSNumber alloc] initWithInt:dayNumber+1];
can be rewritten like this:
NSNumber* dayNsNumber = @(dayNumber+1);
and the dictionary initialization can be done like this:
NSDictionary *params = @{
@"Day Number" : dayNsNumber
, @"Date" : [self getCurrentLocalDate]
, @"Time" : [self getCurrentLocalTime]
};