POST ops/logs/tally

Request Information

URI Parameters

None.

Body Parameters

LogTallyBatch
NameDescriptionTypeAdditional information
CompartmentId

integer

None.

Coordinates

Coordinates

None.

LogLength

decimal number

None.

LogDiameters

Collection of LogTally

None.

ProductTypeId

integer

None.

StackNo

string

None.

Submitted

date

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "compartmentId": 1,
  "coordinates": null,
  "logLength": 2.0,
  "logDiameters": [
    {
      "diameter": 1,
      "count": 2
    },
    {
      "diameter": 1,
      "count": 2
    }
  ],
  "productTypeId": 3,
  "stackNo": "sample string 4",
  "submitted": "2024-02-21T07:48:37.5013652+02:00",
  "userName": "sample string 6"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LogTallyBatch'.

Response Information

Resource Description

None.