abstratt / cloudfier

Cloudfier is a model-driven tool for rapid development of business applications
http://cloudfier.com
Other
22 stars 4 forks source link

API choking on valid dates #239

Open abstratt opened 6 years ago

abstratt commented 6 years ago
{
  "description": "Some food",
  "amount": "20",
  "date": "2018-04-04T03:00:00.000Z",
  "category": {
    "links": {

    },
    "values": {
      "name": "Meal"
    },
    "disabledActions": {

    },
    "objectId": "6",
    "uri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/expenses.Category/instances/6",
    "shorthand": "Meal",
    "profile": "Slim",
    "entityUri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/expenses.Category",
    "typeRef": {
      "entityNamespace": "expenses",
      "kind": "Entity",
      "typeName": "Category",
      "fullName": "expenses.Category"
    },
    "scopeName": "Category",
    "scopeNamespace": "expenses"
  },
  "employee": {
    "links": {
      "userProfile": {
        "objectId": "4",
        "uri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/userprofile.UserProfile/instances/4",
        "shorthand": "employee1@abstratt.com",
        "profile": "Empty",
        "entityUri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/userprofile.UserProfile",
        "typeRef": {
          "entityNamespace": "userprofile",
          "kind": "Entity",
          "typeName": "UserProfile",
          "fullName": "userprofile.UserProfile"
        },
        "scopeName": "UserProfile",
        "scopeNamespace": "userprofile"
      }
    },
    "values": {
      "name": "John Ford",
      "totalRecorded": 190.5,
      "totalSubmitted": 0,
      "totalApproved": 304.5,
      "totalRejected": 20.5
    },
    "disabledActions": {

    },
    "objectId": "6",
    "uri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/expenses.Employee/instances/6",
    "shorthand": "John Ford",
    "profile": "Slim",
    "entityUri": "http://develop.cloudfier.com/services/api-v2/test-cloudfier-examples-expenses/entities/expenses.Employee",
    "typeRef": {
      "entityNamespace": "expenses",
      "kind": "Entity",
      "typeName": "Employee",
      "fullName": "expenses.Employee"
    },
    "scopeName": "Employee",
    "scopeNamespace": "expenses"
  }
}

{
    "message":"Text \u00272018-04-04T03:00:00.000Z\u0027 could not be parsed, unparsed text found at index 10"
}```