Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60px

Column

DLP-322

Andrea

Possibility to extend the returned fields of a given end-point asking for each sub-object to return its "default" view. This can be done specifying in the JSON message of the "fields" property to attach to the HTTP header the property "all":"*".
For example with the following JSON attached to the VoyageHeader end-point:


Wiki Markup
{  
   "company":{  
      "companyCurrency":"*"
   },
   "voyage":{  
      "all":"*",
      "portCalls":{  
         "all":"*"
      }
   }
}


it will return:

the companyCurrency attribute of the company of the VoyageHeader, attribute normally not returned from the VoyageHeader end-point
the default view attributes of voyage and portCall objects


Text

 

Section
Column
width60px

Column

DLP-366 and DLP-369 Andrea

...