diff --git a/Views/API/Index.cshtml b/Views/API/Index.cshtml index 240a8bc..3c5aa67 100644 --- a/Views/API/Index.cshtml +++ b/Views/API/Index.cshtml @@ -86,6 +86,7 @@ initialOdometer - Initial Odometer reading(optional)
odometer - Odometer reading
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -122,6 +123,7 @@ description - Description
cost - Cost
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -158,6 +160,7 @@ description - Description
cost - Cost
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -194,6 +197,7 @@ description - Description
cost - Cost
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -229,6 +233,7 @@ description - Description
cost - Cost
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -271,6 +276,7 @@ isFillToFull(bool) - Filled To Full
missedFuelUp(bool) - Missed Fuel Up
notes - notes(optional)
+ extrafields - extrafields(optional)
} @@ -339,4 +345,11 @@ $('.copyable').on('click', function (e) { copyToClipboard(e.currentTarget); }) + function showExtraFieldsInfo(){ + Swal.fire({ + title: "Format for Extra Fields", + html: "extrafields[i][name] - Name of Extra Field
extrafields[i][value] - Value of Extra Field
i is an integer that starts at 0 and increments with each extrafield", + icon: "info" + }); + } \ No newline at end of file