API introspection – List packages, resources and their interfaces

Found 8 resources


Resource class Tesa\Flow\Controller\Business\Api\V1\RevenueController of type CollectionController
No access control

Skeleton class for controlling a collection of rows from the 'RevenueModel' table.

Name Type Size Default Description Visible Mutable Nullable
Uuid VARCHAR 36 not set yes no no
Orphaned BOOLEAN yes no no
SalesPersonIdentifier VARCHAR 128 not set C1 Sales force name yes no no
CompanyCode VARCHAR 5 not set A1 Large customers yes no yes
DepartmentCode VARCHAR 5 not set A3 Large customers yes no yes
CustomerCode VARCHAR 10 not set Sold-to (10-digit) yes no no
ProductIbnr VARCHAR 5 not set IBNR yes no no
CurrentGrossRevenue FLOAT 0 PS yes no no
ReferenceGrossRevenue FLOAT 0 PS LY comp. yes no no
PreviousYearGrossRevenue FLOAT 0 PS LY total yes no no
GrossRevenueAbsoluteDeviation FLOAT 0 PS dvlp. yes no no
GrossRevenueDeviation FLOAT 0 PS dvlp. % yes no no
CurrentNetRevenue FLOAT 0 PNS yes no no
ReferenceNetRevenue FLOAT 0 PNS LY comp. yes no no
PreviousYearNetRevenue FLOAT 0 PNS LY total yes no no
NetRevenueDeviation FLOAT 0 PNS dvlp. % yes no no
CurrentAbsoluteMargin FLOAT 0 MI PNS yes no no
CurrentRelativeMargin FLOAT 0 MI PNS % yes no no
ReferenceAbsoluteMargin FLOAT 0 MI PNS LY comp. yes no no
ReferenceRelativeMargin FLOAT 0 MI PNS % LY yes no no
PreviousYearRelativeMargin FLOAT 0 MI PNS % LY total yes no no
RelativeMarginDeviation FLOAT 0 MI PNS dev. pp yes no no
CurrentQuantityBasic FLOAT 0 Qty basic yes no no
QuantityBasicDeviation FLOAT 0 Qty basic dvlp. % yes no no

Interfaces

Found 2 interfaces in class Tesa\Flow\Controller\Business\Api\V1\RevenueController

Resource: Revenue, Method: find

Loads a model collection or throws an exception

Endpoint
GET /business/api/v1/revenue/
GET /business/api/v1/revenue
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
If-Modified-Since: Wed, 30 Sep 2020 12:55:40 GMT


HTTP/1.1 200 Ok
Date: Wed, 30 Sep 2020 12:55:40 +0000
Content-Length: 2293
Content-Type: application/json
Last-Modified: Wed, 30 Sep 2020 12:55:40 GMT

{ "RevenueModelCollection": [ { "Uuid": "123e4567-e89b-12d3-a456-426655440000", "Orphaned": true, "SalesPersonIdentifier": "JDOE", "CompanyCode": "06193", "DepartmentCode": "06193", "CustomerCode": "0000385272", "ProductIbnr": "04348", "CurrentGrossRevenue": 30.6, "ReferenceGrossRevenue": 30.6, "PreviousYearGrossRevenue": 30.6, "GrossRevenueAbsoluteDeviation": 142.6, "GrossRevenueDeviation": 142.6, "CurrentNetRevenue": 30.6, "ReferenceNetRevenue": 30.6, "PreviousYearNetRevenue": 30.6, "NetRevenueDeviation": 148.5, "CurrentAbsoluteMargin": 30.6, "CurrentRelativeMargin": 70.9, "ReferenceAbsoluteMargin": 26, "ReferenceRelativeMargin": 70.7, "PreviousYearRelativeMargin": 70.8, "RelativeMarginDeviation": 0.2, "CurrentQuantityBasic": 30.6, "QuantityBasicDeviation": 30.6 } ], "CollectionConfiguration": { "CollectionModelName": "RevenueModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer Token named Authorization
ISO 8601 Timestamp Provided By The `Last-Modified` Response Header Of The Last Reqeust named If-Modified-Since // Optional
Response header
ISO 8601 Timestamp named Last-Modified // Optional
Response data
FilteredRevenueControllerModel[] named RevenueModelCollection

Resource: Revenue, Method: page

Loads an paginated model collection or throws an exception

The number of items per page is defined in the class property $modelsPerPage

Endpoint
GET /business/api/v1/revenue/page/{?page}/
GET /business/api/v1/revenue/page/{?page}
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
If-Modified-Since: Wed, 30 Sep 2020 12:55:40 GMT


HTTP/1.1 200 Ok
Date: Wed, 30 Sep 2020 12:55:40 +0000
Content-Length: 2293
Content-Type: application/json
Last-Modified: Wed, 30 Sep 2020 12:55:40 GMT

{ "RevenueModelCollection": [ { "Uuid": "123e4567-e89b-12d3-a456-426655440000", "Orphaned": true, "SalesPersonIdentifier": "JDOE", "CompanyCode": "06193", "DepartmentCode": "06193", "CustomerCode": "0000385272", "ProductIbnr": "04348", "CurrentGrossRevenue": 30.6, "ReferenceGrossRevenue": 30.6, "PreviousYearGrossRevenue": 30.6, "GrossRevenueAbsoluteDeviation": 142.6, "GrossRevenueDeviation": 142.6, "CurrentNetRevenue": 30.6, "ReferenceNetRevenue": 30.6, "PreviousYearNetRevenue": 30.6, "NetRevenueDeviation": 148.5, "CurrentAbsoluteMargin": 30.6, "CurrentRelativeMargin": 70.9, "ReferenceAbsoluteMargin": 26, "ReferenceRelativeMargin": 70.7, "PreviousYearRelativeMargin": 70.8, "RelativeMarginDeviation": 0.2, "CurrentQuantityBasic": 30.6, "QuantityBasicDeviation": 30.6 } ], "CollectionConfiguration": { "CollectionModelName": "RevenueModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer Token named Authorization
ISO 8601 Timestamp Provided By The `Last-Modified` Response Header Of The Last Reqeust named If-Modified-Since // Optional
Response header
ISO 8601 Timestamp named Last-Modified // Optional
Response data
FilteredRevenueControllerModel[] named RevenueModelCollection