API introspection – List packages, resources and their interfaces

Found 8 resources


Resource class Awo\ContentVendor\Extension\BusinessDivision\Controller\Api\V1\BusinessDivisionContactPersonController of type EntityController
Access controlled by ContentVendor\Core\Api\AccessRule\ApiAccessRule

Skeleton class for controlling a row from the 'BusinessDivisionContactPersonModel' table.

Controller providing business division contact person related entity actions.

Name Type Size Default Description Visible Mutable Nullable
BusinessDivisionUuid VIRTUAL not set yes no yes
DefaultContactPerson BOOLEAN yes no no
Firstname VARCHAR 128 not set yes no no
Lastname VARCHAR 128 not set yes no no
PositionClass ENUM CONTACT_PERSON Value set: PRESIDENT, VICE_PRESIDENT, ASSISTANT_TO_THE_PRESIDENT, DIVISION_LEAD, VICE_DIVISION_LEAD, ASSISTANT_TO_THE_DIVISION_LEAD, FACILITY_LEAD, VICE_FACILITY_LEAD, ASSISTANT_TO_THE_FACILITY_LEAD, CONTACT_PERSON yes no no
Position VARCHAR 128 not set yes no yes
PhoneNumber VARCHAR 128 not set yes no yes
MobilePhoneNumber VARCHAR 128 not set yes no yes
MailAddress VARCHAR 128 not set yes no yes
Languages VARCHAR 256 not set yes no yes
OfficeHours LONGVARCHAR not set yes no yes
CreatedAt TIMESTAMP not set yes no yes
UpdatedAt TIMESTAMP not set yes no yes
Uuid VARCHAR 36 not set yes no no

Interfaces

Found 1 interfaces in class Awo\ContentVendor\Extension\BusinessDivision\Controller\Api\V1\BusinessDivisionContactPersonController

Resource: BusinessDivisionContactPerson, Method: load

Loads a model enitiy from the table defined by the model class name

Endpoint
GET /extension/api/v1/business-division-contact-person/{uuid}/
GET /extension/api/v1/business-division-contact-person/{uuid}
Host: /
Accept: application/json


HTTP/1.1 200 Ok
Date: Tue, 11 Feb 2020 11:45:52 +0000
Content-Length: 1155
Content-Type: application/json

{ "BusinessDivisionContactPersonModel": { "BusinessDivisionUuid": null, "DefaultContactPerson": true, "Firstname": "John", "Lastname": "Doe", "PositionClass": "PRESIDENT", "Position": "Chief of some of the things", "PhoneNumber": "0431 2400668", "MobilePhoneNumber": "0151 23456789", "MailAddress": "mb@markenwerk.net", "Languages": "deutsch, englisch, russisch", "OfficeHours": "", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000" }, "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 } ] }
GET /extension/api/v1/business-division-contact-person/{uuid}
                      
Host: /
Accept: application/json



HTTP/1.1 200 Ok
Date: Tue, 11 Feb 2020 11:45:52 +0000
Content-Length: 1155
Content-Type: application/json

{ "BusinessDivisionContactPersonModel": { "BusinessDivisionUuid": null, "DefaultContactPerson": true, "Firstname": "John", "Lastname": "Doe", "PositionClass": "PRESIDENT", "Position": "Chief of some of the things", "PhoneNumber": "0431 2400668", "MobilePhoneNumber": "0151 23456789", "MailAddress": "mb@markenwerk.net", "Languages": "deutsch, englisch, russisch", "OfficeHours": "", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000" }, "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 } ] }
Response data
FilteredBusinessDivisionContactPersonControllerModel named BusinessDivisionContactPersonModel