This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api/Security/Register | |
Parameters: | |
{ | |
Email = "[email protected]"; | |
Password = "P@55w0rd"; | |
} | |
Request failed: bad request (400) | |
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x600000630040> { URL: http://learningapi.tew-staging.com/api/Security/Register } { status code: 400, headers { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Id": "57e4e2608920a36574cf7517", | |
"UId": "57e4e2608920a36574cf7517", | |
"Forename": "Demo", | |
"Surname": "User", | |
"BrandIds": [ | |
"57e2862b8920aa3bb47f6cb9" | |
], | |
"JobRoleIds": [ | |
"58242f0f8920a373300d04fe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Email": "[email protected]", | |
"Forename": "Demo", | |
"Surname": "User", | |
"JobRoles": [ | |
{ | |
"Name": "Commercial/ marketing", | |
"Nid": 3519, | |
"Id": "58242f0f8920a373300d04fe" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Id": "57e4e2608920a36574cf7517", | |
"UId": "57e4e2608920a36574cf7517", | |
"Forename": "Demo", | |
"Surname": "User", | |
"BrandIds": [ | |
"57e2862b8920aa3bb47f6cb9" | |
], | |
"JobRoleIds": [ | |
"58242f0f8920a373300d04fe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gps data file | |
Структуры с клиента: | |
struct RouteHeader { | |
int pointsCount; | |
}; | |
typedef struct RouteHeader RouteHeader; | |
Point struct: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gps data file | |
Структуры с клиента: | |
struct RouteHeader { | |
int32_t magic; // marker 0xFF11 | |
int32_t pointsCount; | |
}; | |
typedef struct RouteHeader RouteHeader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (instancetype)deserialize:(NSData *)data error:(NSError **)error { | |
if (data.length == 0) { | |
return nil; | |
} | |
NZRoute *route = [NZRoute new]; | |
route.data = [NSMutableData dataWithData:data]; | |
RouteHeader header; | |
NSUInteger headerSize = sizeof(header); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
points = ( | |
{ | |
i = 1; | |
ln = "-122.03373729"; | |
lt = "37.33762926"; | |
t = "1495545334.92"; | |
}, | |
{ | |
i = 2; | |
ln = "-122.03380989"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
anchors = ( | |
); | |
cloudCondition = 0; | |
created = 1495716150; | |
date = 20170525; | |
distance = "0.57982"; | |
elevation = 0; | |
endTime = 1495716220; | |
gmt = 6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>firststep</key> | |
<dict> | |
<key>badgeType</key> | |
<string>unique</string> | |
<key>badgeNumber</key> | |
<integer>1</integer> |