Skip to content

Update Documentation (trim & type)ย #45

@sman2600

Description

@sman2600

๐Ÿ—บ๏ธ Requirements

Update both API doc pages to clarify the following:
1.) Vehicle object available fields (trim & type were added but are missing from the documentation list)
2.) Update documentation summary text to state whether or not the object itself, and the fields contained within the object are mandatory or optional is also missing (in accordance with actual xAPI behavior)

If the Vehicle object is not provided, we will attempt a VIN decode on the provided VIN in order to populate these fields. If a Vehicle object is provided, then all fields should be provided and we will use this data preferentially over our own data sources (this can be useful in cases where you are submitting HINs, non-standard VINs, etc. that may not decode properly on our end).

๐Ÿค” Problem Statement

We added 2 new fields to this object but never updated the documentation (beyond updating some of the sample JSON)

Screenshot 2024-02-08 at 0.34.12.png

*Note: Trim & Type also seem to behave differently than the rest of the Vehicle object fields when it comes to null values.

๐Ÿ•ต๏ธ Current Behavior

New fields are added but the only indication these exist is via either the front-end UI or some example JSON in some parts of the API documentation (inconsistent).

๐Ÿ˜ Expected Behavior

Documentation is updated to match how the API actually functions.

โœ”๏ธ Acceptance Criteria

  • Create Claim Documentation page for vendor docs updated
  • Create Claim Documentation for xapi docs updated

Resources

Any relevant resources that developers can use to better contextualize the user story
๐ŸŽฅ Loom explanation:
๐ŸŽจ Design file: https://www.figma.com/file/Rw0HAZA2zArcgf6e9hxopp/xForce-Pages?type=design&node-id=646-2&mode=design&t=HjDaIU8bvxqUF05S-0
๐Ÿ“ˆ Supporting Report:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions