DataFormat Parameter (Connect-OData Cmdlet)
Specifies the formatting of data when interacting with an OData service. The two formats supported are ATOM and JSON.
Syntax
Connect-OData -DataFormat string
Possible Values
AUTO, ATOM, JSONData Type
cstr
Default Value
"AUTO"
Remarks
The DataFormat defines the data format (either JSON or XML) for the request body in INSERT, UPDATE, or DELETE (if any) operations and the accepted response format for SELECT operations via the Accept header. It ensures that the driver correctly handles both request and response formats.
This property helps ensure compatibility with the client's preferred format.