================================================= API Schema | Company User MasterData Api | 59.7.1 ================================================= ----------------------------------------------- AddCompanyAdministrationPermissionToUserCommand ----------------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.AddCompanyAdministrationPermissionToUserCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AddCompanyAdministrationPermissionToUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------------- AddCompanyInCompanyGroupCommand ------------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.AddCompanyInCompanyGroupCommand CompanyGroupId Guid CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.AddCompanyInCompanyGroupCommand+CompanyGroupViewModel CompanyGroupId Guid GroupName String GroupCode String MainCompanyId Nullable Companies List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CompanyGroupViewModelBase+ParticipatedCompany CompanyId Guid IsActive Boolean ModifiedAt DateTime AddedAt DateTime ModifiedBy Nullable AddedBy Nullable IsActive Boolean CreatedBy Nullable CreatedAt DateTime ModifiedBy Nullable ModifiedAt DateTime -------- Security -------- AddCompanyInCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- 2538721f-fb8c-407f-9337-8a99c6f6d48a CompanyDoesNotExist f1e2770e-67d3-4bfb-ab23-26f1067fd82d CompanySuspendedOrDisabled b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 5f254a5e-733e-4186-b16c-d0121bb8826f CompanyGroupIsInactive d19cc63f-1eed-4ce0-ab96-b6666bbf1f92 CompanyGroupDoesNotExist b3bacc0a-3bd1-4f5e-93ef-eee814af3dea CompanyIdsAlreadyBelongToDifferentCompanyGroup ------------------------ AddOfferToCompanyCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.AddOfferToCompanyCommand CompanyId Guid OfferId Guid Sender String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AddOfferToCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------------------- AddPendingCompanyToPendingUserCommand ------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.AddPendingCompanyToPendingUserCommand GlobalUserId Guid UserLanguagePreference String UserJobTitle Nullable UserPhoneNumber String GlobalCompanyId Nullable CompanyLegalName String CompanyAddress String CompanyAddressComplement String CompanyPostalCode String CompanyCity String CompanyCountry String CompanyDuns String CompanyActivity Int32 CompanyCategories List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.Category CategoryId Guid CategoryItemId Guid UserCivility String CompanyState String CompanyPhone String CompanyEmail String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AddPendingCompanyToPendingUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- cdad6c9b-2d2c-4cdc-9f48-87f189d2560b CompanyAlreadyExists adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode f377cd71-5b3f-4b36-bf55-51893f0b78fb DunsAlreadyExists -------------------------------- AddResponsibilitiesToUserCommand -------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Responsibilities.AddResponsibilitiesToUserCommand UserId Guid ResponsibilitiesList List MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AddResponsibilitiesToUserCommand requests require an identity token for an authenticated identity with authorisation to permissions users.responsibilities.write ----------- Error Codes ----------- 966296b3-c444-4d1d-a43b-99225b6b9755 NotAuthorised b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode -------------------- AddRoleToUserCommand -------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.AddRoleToUserCommand UserId Guid RoleId Guid Sender String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AddRoleToUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound e6381e61-d4a3-4947-9c00-575a95dfd854 NotAuthorised b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------------ AdminCreateSubscriptionCommand ------------------------------ ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminCreateSubscriptionCommand CompanyId Guid OfferIds List MaxUsers Int32 BusinessModel String Comments List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CommentViewModel Value String AuthorId Nullable CommentDate Nullable Contracts List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.ContractViewModel Id Nullable OwnerCompanyId Guid AssociatedCompanyId Guid Status String TemplateListIds List MaxNumberOfTemplates Nullable NutriscoreCalculation Nullable ElectronicSignatureTypes List MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminCreateSubscriptionCommand+SubscriptionViewModel SubscriptionId Guid -------- Security -------- AdminCreateSubscriptionCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode cdd158ba-7e13-4be9-8a06-86923c87bfa2 DefaultOfferNotExist b0764734-efca-46fe-8ed7-263cc578f21f InvalidOffer f750a4a9-7b71-42cc-b291-72e70324c0b9 BadRequest cccaf7ba-e71c-43d1-8794-5defef94de51 InactiveOffer 5d4712f9-b9f4-4506-ab1d-d8eee6b46f4b NumberOfUsersMaximumReached ------------------------------ AdminDeleteSubscriptionCommand ------------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminDeleteSubscriptionCommand SubscriptionId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AdminDeleteSubscriptionCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- AdminEditSubscriptionCommand ---------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminEditSubscriptionCommand SubscriptionId Guid OfferIds List MaxUsers Nullable BusinessModel String Comments List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CommentViewModel Value String AuthorId Nullable CommentDate Nullable Contracts List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.ContractViewModel Id Nullable OwnerCompanyId Guid AssociatedCompanyId Guid Status String TemplateListIds List MaxNumberOfTemplates Nullable ElectronicSignatureTypes List NutriscoreCalculation Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminEditSubscriptionCommand+SubscriptionViewModel SubscriptionId Guid -------- Security -------- AdminEditSubscriptionCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode cdd158ba-7e13-4be9-8a06-86923c87bfa2 DefaultOfferNotExist b0764734-efca-46fe-8ed7-263cc578f21f InvalidOffer 4a7f5732-5028-4bb5-8d2e-6e772792baa6 OnlyAddonCanBeUpdated f750a4a9-7b71-42cc-b291-72e70324c0b9 BadRequest cccaf7ba-e71c-43d1-8794-5defef94de51 InactiveOffer 5d4712f9-b9f4-4506-ab1d-d8eee6b46f4b NumberOfUsersMaximumReached ----------------------------------- AdminRemoveShareSubscriptionCommand ----------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminRemoveShareSubscriptionCommand SubscriptionId Guid AssociatedCompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AdminRemoveShareSubscriptionCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------------- AdminShareSubscriptionCommand ----------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminShareSubscriptionCommand SubscriptionId Guid CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminShareSubscriptionCommand+SharedSubscriptionViewModel SubscriptionId Guid SharedWithCompanyId Guid -------- Security -------- AdminShareSubscriptionCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group -------------------------- AdminShareUserRolesCommand -------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminShareUserRolesCommand UserId Guid SharedSubscriptionId Guid RoleIds List MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminShareUserRolesCommand+SharedUserRolesViewModel UserId Guid SharedSubscriptionId Guid ApplicationTypeId Int32 RoleIds List -------- Security -------- AdminShareUserRolesCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ---------------------------------- AdminUpdateCompanyLegalNameCommand ---------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminUpdateCompanyLegalNameCommand CompanyId Guid CompanyLegalName String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AdminUpdateCompanyLegalNameCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------------- AdminUpdateUserProfileCommand ----------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Admin.AdminUpdateUserProfileCommand UserId Guid IsAccountAdministrator Boolean Responsibilities List Applications List Roles List MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- AdminUpdateUserProfileCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode d4df18ab-7b73-441f-87ef-65652d7a348f LastAdministrator 58f4cd91-d95f-47e8-9874-4a6b2f387f9f InvalidRoleId e1e0daa1-c1e0-42b1-9336-8c6bb7fa2aff InvalidApplicationId f2047e60-9378-4c5b-bfa8-4b45ac18c146 InvalidResponsibilityId 7c4e9d5d-1d68-4a55-80f2-463605f1712b RemoveOnItselfDenied 5d4712f9-b9f4-4506-ab1d-d8eee6b46f4b NumberOfUsersMaximumReached ------------------------------------------------------ ChangeCompanyAllowanceToUseRegistrationEndpointCommand ------------------------------------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeCompanyAllowanceToUseRegistrationEndpointCommand CompanyId Guid Enable Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ChangeCompanyAllowanceToUseRegistrationEndpointCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------ ChangeCompanyDunsCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeCompanyDunsCommand CompanyId Guid NewCompanyDuns String NewCompanyLegalName String StatefulProcessId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ChangeCompanyDunsCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------------- ChangeCompanyRelationsCommand ----------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.ChangeCompanyRelationsCommand OwnerCompanyId Guid AssociatedCompanyId Guid PatchOperations Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Operations List> Microsoft.AspNetCore.JsonPatch.Operations.Operation value Object OperationType Microsoft.AspNetCore.JsonPatch.Operations.OperationType Microsoft.AspNetCore.JsonPatch.Operations.OperationType Add 0 Remove 1 Replace 2 Move 3 Copy 4 Test 5 Invalid 6 path String op String from String ContractResolver Newtonsoft.Json.Serialization.IContractResolver Newtonsoft.Json.Serialization.IContractResolver MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ChangeCompanyRelationsCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------- ChangeUserEmailCommand ---------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeUserEmailCommand NewEmail String UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ChangeUserEmailCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- d0a53895-89da-473d-a1b8-8053c312c0e3 EmailAlreadyExists adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------------------ ChangeUserLanguagePreferencesCommand ------------------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeUserLanguagePreferencesCommand UserIdType String UserId Guid NewLanguagePreference String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ChangeUserLanguagePreferencesCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode --------------------------- ChangeUserPasswordV2Command --------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeUserPasswordV2Command UserId Guid OldPassword String NewPassword String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.ChangeUserPasswordV2Command+ChangeUserPasswordV2ViewModel PasswordExpiryDate DateTime -------- Security -------- ChangeUserPasswordV2Command requests require an identity token for an authenticated identity. ----------- Error Codes ----------- 73fb7620-3dbf-4418-bf44-3eff2aa60504 PasswordComplianceFailure d538d04c-c2cd-4b81-9549-f4c943b32a58 InvalidUsernameOrPassword adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------ CloseCompanyGroupCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.CloseCompanyGroupCommand CompanyGroupId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- CloseCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode d19cc63f-1eed-4ce0-ab96-b6666bbf1f92 CompanyGroupDoesNotExist ------------------------- CreateCompanyGroupCommand ------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateCompanyGroupCommand GroupName String GroupCode String CompanyIds List MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateCompanyGroupCommand+CompanyGroupViewModel CompanyGroupId Guid GroupName String GroupCode String MainCompanyId Nullable Companies List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CompanyGroupViewModelBase+ParticipatedCompany CompanyId Guid IsActive Boolean ModifiedAt DateTime AddedAt DateTime ModifiedBy Nullable AddedBy Nullable IsActive Boolean CreatedBy Nullable CreatedAt DateTime ModifiedBy Nullable ModifiedAt DateTime -------- Security -------- CreateCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- 2538721f-fb8c-407f-9337-8a99c6f6d48a CompanyDoesNotExist f1e2770e-67d3-4bfb-ab23-26f1067fd82d CompanySuspendedOrDisabled b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode f750a4a9-7b71-42cc-b291-72e70324c0b9 BadRequestCode 8703833c-35a7-4411-aa5f-6ba07794f2a6 CompanyGroupAlreadyExists b3bacc0a-3bd1-4f5e-93ef-eee814af3dea CompanyIdsAlreadyBelongToDifferentCompanyGroup ------------------------ CreateCompanyLinkCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateCompanyLinkCommand PrivateCompanyId Guid RealCompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- CreateCompanyLinkCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------------- CreateCompanyOAuthClientCommand ------------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.OAuthClient.CreateCompanyOAuthClientCommand OwningCompanyId Guid ClientSecret String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.OAuthClient.CreateCompanyOAuthClientCommand+OAuthClientViewModel OAuthClientId Guid -------- Security -------- CreateCompanyOAuthClientCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f MissingCompany e5a0ee77-c18d-4729-9289-b72f625bb93c CompanyNotEnabled b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- CreateCompanyRelationCommand ---------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.CreateCompanyRelationCommand OwnerCompanyId Guid AssociatedCompanyId Guid ExternalIdentifier String ExternalName String Contacts List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.ContactModel UserId Guid ResponsibilityId Guid Comments List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CommentViewModel Value String AuthorId Nullable CommentDate Nullable RetailerCustomizedAttributes List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.RetailerCustomizedAttributeViewModel RetailerLabel String RetailerCode String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.CreateCompanyRelationCommand+CompanyRelationViewModel CompanyRelationId Guid -------- Security -------- CreateCompanyRelationCommand requests require an identity token for an authenticated identity with authorisation to permissions companyRelations.write ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode 86676191-1cda-4e11-85de-523ff5458b5c CompanyRelationAlreadyExists b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode a0c24df3-69e0-488b-9b85-a8d529f8cf98 UserResponsibilityNotFound 27d9dc81-36f0-4496-a656-79e1ce0194de SameOwnerAndAssociatedCompany --------------------------- CreatePrivateCompanyCommand --------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreatePrivateCompanyCommand GlobalCompanyId Nullable CompanyLegalName String CompanyDisplayName String CompanyAddress String CompanyAddressComplement String CompanyPostalCode String CompanyCity String CompanyCountry String CompanyDuns String CompanyActivity Int32 MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreatePrivateCompanyCommand+PrivatecompanyViewModel GlobalCompanyId Guid -------- Security -------- CreatePrivateCompanyCommand requests require an identity token for an authenticated identity with authorisation to permissions companyprivate.write ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------- CreateRegistrationCommand ------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateRegistrationCommand UserCivility String UserFirstName String UserLastName String UserEmail String UserLanguagePreference String UserJobTitleId Int32 UserPhoneNumber String CompanyLegalName String CompanyDisplayName String CompanyAddress String CompanyAddressComplement String CompanyPostalCode String CompanyCity String CompanyCountry String CompanyDuns String CompanyActivity Int32 CompanyState String CompanyPhone String CompanyFax String CompanyEmail String CompanyExternalIdentifier String CompanyExternalName String ApplicationTypeId List ContactEmail String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateRegistrationCommand+RegistrationViewModel RegistrationId Guid -------- Security -------- CreateRegistrationCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode ------------------- CreateUserV3Command ------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateUserV3Command OwningCompanyId Guid GlobalUserId Nullable UserCivility String UserFirstName String UserLastName String UserEmail String UserLanguagePreference String UserJobTitle Nullable UserPhoneNumber String IsAccountAdministrator Boolean IsMainContact Boolean MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CreateUserV3Command+UserViewModel UserId Guid UserFirstName String UserLastName String UserNotificationEmail String UserLogin String OwningCompanyId Nullable UserStatus String UserPhotoUrl String IsAccountAdministrator Boolean IsMainContact Boolean UserLocked Boolean UserLockedDate Nullable UserUnlockedDate Nullable UserJobTitle String UserJobTitleId Nullable UserPhone String UserLanguagePreference String UserCivility String Responsibilities List CreatedAt Nullable ModifiedAt Nullable UserLastLoggedInDate Nullable Country String TimeZone String LastStatusUpdatedDate Nullable -------- Security -------- CreateUserV3Command requests require an identity token for an authenticated identity. ----------- Error Codes ----------- 2538721f-fb8c-407f-9337-8a99c6f6d48a CompanyDoesNotExist 6745acfb-fc66-4fb6-8311-d89e8d0b47be UserAlreadyExists 4a670e91-6e29-41e5-b876-dc00cb7d403e PasswordComplianceFailure f1e2770e-67d3-4bfb-ab23-26f1067fd82d CompanySuspendedOrDisabled 2d76cbaa-e568-4d06-928f-3207a905aea3 CompanyIsPrivate adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- DeactivateUserAccountCommand ---------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.DeactivateUserAccountCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DeactivateUserAccountCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode 6ada684c-143f-4c60-88c1-f067e35d0a41 CannotDeactivateTraceOneAdmin 7dfc9e3f-45bc-41b3-99bd-a231f05916ef CannotDeactivateLastAdmin 98a8bfcf-54dd-4d59-8616-e473fdfb653b CannotDeactivateMainContact ------------------------------- DeleteCompanyOAuthClientCommand ------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.OAuthClient.DeleteCompanyOAuthClientCommand OAuthClientId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DeleteCompanyOAuthClientCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f MissingOAuthClient b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode --------------------- DisableCompanyCommand --------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.DisableCompanyCommand CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DisableCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------------- DisableCompanyRelationCommand ----------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.DisableCompanyRelationCommand RelationId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DisableCompanyRelationCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------- DisableUserAccountCommand ------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.DisableUserAccountCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DisableUserAccountCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 7dfc9e3f-45bc-41b3-99bd-a231f05916ef CannotDeactivateLastAdmin 98a8bfcf-54dd-4d59-8616-e473fdfb653b CannotDeactivateMainContact -------------------- EnableCompanyCommand -------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.EnableCompanyCommand CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- EnableCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------ EnableUserAccountCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.EnableUserAccountCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- EnableUserAccountCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- 2538721f-fb8c-407f-9337-8a99c6f6d48b CompanyDisabled adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------------------- ForwardCommandToQueue ---------------------------------------- TraceOne.ApiPlatform.Interfaces.LowLevel.Messages.ForwardCommandToQueue Command TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.CreateRoleCommand TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.CreateRoleCommand RoleId Nullable Name String OwningCompanyId Guid PermissionSetIds List CreatedBy String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- CreateRoleCommand requests do not require authentication. ----------- Error Codes ----------- 1bda31bb-2ba5-4fd0-8949-2c28974c3f9d MissingName 81b925c2-bfbe-4287-afb0-0b856895ac5b MissingOwningCompanyId b9f1877a-2231-4ec6-b5f1-67423691ce9b MissingPermissionSetId f3492796-ddcf-4581-8661-9b99cc56b7c0 DoNotHavePermission ---------------------------------------- ForwardCommandToQueue ---------------------------------------- TraceOne.ApiPlatform.Interfaces.LowLevel.Messages.ForwardCommandToQueue Command TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.DeleteRoleCommand TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.DeleteRoleCommand RoleId Guid HardDelete Boolean MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- DeleteRoleCommand requests do not require authentication. ----------- Error Codes ----------- 85cefcc4-5316-4f73-92b8-5d0bdc3b7073 MissingRoleId 4e82c376-ad06-435c-b8a4-3c7c951e172f UnknownRoleId 5291901c-56b0-4a8e-b1e1-8afcbfbec991 DoNotHavePermission e66d9b75-ae4e-42e6-941d-b33998858e9c DefaultRoleCannotBeDeleted ----------------------------------- ForwardedCompaniesBulkExportCommand ----------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Forwarded.ForwardedCompaniesBulkExportCommand ApplicationTypeIds List CompanyStatuses List SearchText String CompanyActivityId Nullable CompanyIds List CreationDate Nullable FromStatusUpdatedDate Nullable ToStatusUpdatedDate Nullable FromTargetSuspendDate Nullable ToTargetSuspendDate Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ForwardedCompaniesBulkExportCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode -------------------------------------- ForwardedCreateUserAndCompanyV2Command -------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Forwarded.ForwardedCreateUserAndCompanyV2Command GlobalUserId Nullable UserCivility String UserFirstName String UserLastName String UserEmail String UserLanguagePreference String UserJobTitle Nullable UserPhoneNumber String GlobalCompanyId Nullable CompanyLegalName String CompanyDisplayName String IsRetailerCompany Boolean CompanyAddress String CompanyAddressComplement String CompanyPostalCode String CompanyCity String CompanyCountry String StatefulProcessId Guid TestCompany Boolean CompanyDuns String CompanyActivity Int32 CompanyState String CompanyPhone String CompanyFax String CompanyEmail String CompanyIdentifiers List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.IdentifierCode TypeId Guid Value String CompanyCategories List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.Category CategoryId Guid CategoryItemId Guid CompanyRevenue String CompanyCurrency String CompanySize String CompanyCreationDate Nullable CompanyProductionCapacity String CompanyDeliveryAddress1 String CompanyDeliveryAddress2 String CompanyDeliveryPostalCode String CompanyDeliveryCity String CompanyDeliveryCountry String CompanyDeliveryState String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ForwardedCreateUserAndCompanyV2Command requests require an identity token for an authenticated identity. ----------- Error Codes ----------- cdad6c9b-2d2c-4cdc-9f48-87f189d2560b CompanyAlreadyExists 6745acfb-fc66-4fb6-8311-d89e8d0b47be UserAlreadyExists adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- ForwardedCreateUserV2Command ---------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Forwarded.ForwardedCreateUserV2Command GlobalCompanyId Guid GlobalUserId Nullable UserCivility String UserFirstName String UserLastName String UserEmail String UserLanguagePreference String UserJobTitle Nullable UserPhoneNumber String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ForwardedCreateUserV2Command requests require an identity token for an authenticated identity. ----------- Error Codes ----------- 2538721f-fb8c-407f-9337-8a99c6f6d48a CompanyDoesNotExist 6745acfb-fc66-4fb6-8311-d89e8d0b47be UserAlreadyExists f1e2770e-67d3-4bfb-ab23-26f1067fd82d CompanySuspendedOrDisabled adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------- ForwardedCsvImportCommand ------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Forwarded.ForwardedCsvImportCommand FileName String FileContentBase64Encoded String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ForwardedCsvImportCommand requests require an identity token for an authenticated identity with authorisation to permissions suppliers.import ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenMissingPermission ------------------------------- ForwardedUsersBulkExportCommand ------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Forwarded.ForwardedUsersBulkExportCommand UserSearch String UserFirstName String UserLastName String UserLogin String OwningCompanyId Nullable IsAccountAdministrator Nullable IsMainContact Nullable IsLocked Nullable UserJobTitle Nullable UserStatuses List ApplicationTypeIds List UserIds List CreationDate Nullable FromStatusUpdatedDate Nullable ToStatusUpdatedDate Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- ForwardedUsersBulkExportCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------- PingCommand ----------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.PingCommand PingedAt DateTime PingedBy String PongCommandMessageId Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- PingCommand requests do not require authentication. ----------------------------------------------------- ForwardCommandToQueue ----------------------------------------------------- TraceOne.ApiPlatform.Interfaces.LowLevel.Messages.ForwardCommandToQueue Command TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.SetAssignedRolesForUserCommand TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.SetAssignedRolesForUserCommand UserId Guid RoleIds List LastModified Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- SetAssignedRolesForUserCommand requests do not require authentication. ----------- Error Codes ----------- 133b0b6e-fa9a-45bb-b00b-1dc76bbf1b12 MissingUserId 2becabf5-299d-4d6d-aee3-94d52ba6609d MissingRoleId 2a4e6de6-c2fb-450c-a157-b917a7ed6a0f UnknownUserId fa6bb290-d0ac-432f-be0d-2c03433fcaf6 DoNotHavePermission ---------------------------------------- ForwardCommandToQueue ---------------------------------------- TraceOne.ApiPlatform.Interfaces.LowLevel.Messages.ForwardCommandToQueue Command TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.UpdateRoleCommand TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.UpdateRoleCommand RoleId Guid Name String PermissionSetIds List ModifiedDate Nullable ModifiedBy String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateRoleCommand requests do not require authentication. ----------- Error Codes ----------- 8e225f95-33cb-4f35-b579-d1cf891d2cdb MissingName 252b8078-e8f6-4e13-9709-4e438794ab06 MissingPermissionSetIds 4652e848-2db6-4243-a9f7-e29b02004da9 UnknownRoleId 14d3d0b1-695a-4a35-b1b7-2901c5e795ab DoNotHavePermission ------------------------ ImportPendingUserCommand ------------------------ ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Csv.ImportPendingUserCommand FileContentBase64Encoded String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Csv.ImportPendingUserCommand+ResponseViewModel RecordsImported Int32 Errors List -------- Security -------- ImportPendingUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenMissingPermission --------------- PingPongCommand --------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.PingPongCommand PingedAt DateTime PingedBy String PongCommandMessageId Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.PingPongCommand+PongViewModel PongedAt DateTime PingLatency TimeSpan PingPongCommandMessageId Guid PingedAt DateTime PingedBy String -------- Security -------- PingPongCommand requests do not require authentication. --------------------------- RejectPendingCompanyCommand --------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.RejectPendingCompanyCommand GlobalCompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RejectPendingCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 32ff653b-eeb9-4c50-a1e3-d92ec74f5f54 CompanyRejectedByTraceOneAdministrator fb859bdf-60eb-44f0-a188-c2d8244e4bd3 UserRejectedByCompanyAdministration ------------------------ RejectPendingUserCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.RejectPendingUserCommand GlobalUserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RejectPendingUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 32ff653b-eeb9-4c50-a1e3-d92ec74f5f54 CompanyRejectedByTraceOneAdministrator fb859bdf-60eb-44f0-a188-c2d8244e4bd3 UserRejectedByCompanyAdministration ---------------------------------------------------- RemoveCompanyAdministrationPermissionFromUserCommand ---------------------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.RemoveCompanyAdministrationPermissionFromUserCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RemoveCompanyAdministrationPermissionFromUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound d4df18ab-7b73-441f-87ef-65652d7a348f LastAdministrator 7c4e9d5d-1d68-4a55-80f2-463605f1712b RemoveOnItselfDenied ------------------------------------ RemoveCompanyFromCompanyGroupCommand ------------------------------------ ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.RemoveCompanyFromCompanyGroupCommand CompanyGroupId Guid CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.RemoveCompanyFromCompanyGroupCommand+CompanyGroupViewModel CompanyGroupId Guid GroupName String GroupCode String MainCompanyId Nullable Companies List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CompanyGroupViewModelBase+ParticipatedCompany CompanyId Guid IsActive Boolean ModifiedAt DateTime AddedAt DateTime ModifiedBy Nullable AddedBy Nullable IsActive Boolean CreatedBy Nullable CreatedAt DateTime ModifiedBy Nullable ModifiedAt DateTime -------- Security -------- RemoveCompanyFromCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group --------------------------------------- RemoveCompanyOAuthAuthenticationCommand --------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.RemoveCompanyOAuthAuthenticationCommand CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RemoveCompanyOAuthAuthenticationCommand requests require an identity token for an authenticated identity. ----------------------------- RemoveOfferFromCompanyCommand ----------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.RemoveOfferFromCompanyCommand CompanyId Guid OfferId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RemoveOfferFromCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------------------- RemoveResponsibilityFromUserCommand ----------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Responsibilities.RemoveResponsibilityFromUserCommand UserId Guid ResponsibilityId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RemoveResponsibilityFromUserCommand requests require an identity token for an authenticated identity with authorisation to permissions users.responsibilities.delete ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound e6381e61-d4a3-4947-9c00-575a95dfd854 NotAuthorised b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------- RemoveRoleFromUserCommand ------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Role.RemoveRoleFromUserCommand UserId Guid RoleId Guid Sender String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- RemoveRoleFromUserCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound e6381e61-d4a3-4947-9c00-575a95dfd854 NotAuthorised b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- SetAuthenticationTypeCommand ---------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.SetAuthenticationTypeCommand CompanyId Guid AuthenticationType String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- SetAuthenticationTypeCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode f750a4a9-7b71-42cc-b291-72e70324c0b9 BadRequestCode ----------------------------------- SetMainCompanyInCompanyGroupCommand ----------------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.SetMainCompanyInCompanyGroupCommand CompanyGroupId Guid CompanyId Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.SetMainCompanyInCompanyGroupCommand+CompanyGroupViewModel CompanyGroupId Guid GroupName String GroupCode String MainCompanyId Nullable Companies List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CompanyGroupViewModelBase+ParticipatedCompany CompanyId Guid IsActive Boolean ModifiedAt DateTime AddedAt DateTime ModifiedBy Nullable AddedBy Nullable IsActive Boolean CreatedBy Nullable CreatedAt DateTime ModifiedBy Nullable ModifiedAt DateTime -------- Security -------- SetMainCompanyInCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 5f254a5e-733e-4186-b16c-d0121bb8826f CompanyGroupIsInactive d19cc63f-1eed-4ce0-ab96-b6666bbf1f92 CompanyGroupDoesNotExist 9d438630-90e6-47ef-9181-fe6ea23a8794 CompanyNotFound --------------------- SetMainContactCommand --------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.SetMainContactCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- SetMainContactCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ----------------------- SetNewPasswordV2Command ----------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.SetNewPasswordV2Command UserId Guid NewPassword String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.SetNewPasswordV2Command+SetNewPasswordV2ViewModel PasswordExpiryDate DateTime -------- Security -------- SetNewPasswordV2Command requests require an identity token for an authenticated identity. ----------- Error Codes ----------- 73fb7620-3dbf-4418-bf44-3eff2aa60504 PasswordComplianceFailure cc339812-c414-4496-958b-0a099d487c1f LockedAccount 5866b65b-7845-4366-8091-f6f63a3b2547 InactiveAccount 8b52336b-7672-4cf3-bd9b-41ebaeb8fe5e MissingNewPassword adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode --------------------- SuspendCompanyCommand --------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.SuspendCompanyCommand CompanyId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- SuspendCompanyCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------ UnlockUserAccountCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UnlockUserAccountCommand UserId Guid MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UnlockUserAccountCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode --------------------------------------- UpdateCompaniesTargetSuspendDateCommand --------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompaniesTargetSuspendDateCommand CompanyIds List TargetSuspendDate Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompaniesTargetSuspendDateCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode --------------------------- UpdateCompanyAddressCommand --------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyAddressCommand CompanyId Guid CompanyAddress String CompanyAddressComplement String CompanyCity String CompanyCountry String CompanyPostalCode String CompanyState String CompanyPhone String CompanyFax String CompanyEmail String CompanyDeliveryAddress1 String CompanyDeliveryAddress2 String CompanyDeliveryPostalCode String CompanyDeliveryCity String CompanyDeliveryCountry String CompanyDeliveryState String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyAddressCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------------------- UpdateCompanyAuthentificationModeCommand ---------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyAuthentificationModeCommand CompanyId Guid AuthenticationEndpointUrl String TokenValidationEndpointUrl String ServerName TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyAuthentificationModeCommand+AuthenticationServerName TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyAuthentificationModeCommand+AuthenticationServerName Google 0 Ahold 1 AholdUs 2 MnS 3 MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyAuthentificationModeCommand requests do not require authentication. ------------------------- UpdateCompanyGroupCommand ------------------------- ------- Request ------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.UpdateCompanyGroupCommand CompanyGroupId Guid GroupName String GroupCode String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Response -------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.CompanyGroups.UpdateCompanyGroupCommand+CompanyGroupViewModel CompanyGroupId Guid GroupName String GroupCode String MainCompanyId Nullable Companies List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CompanyGroupViewModelBase+ParticipatedCompany CompanyId Guid IsActive Boolean ModifiedAt DateTime AddedAt DateTime ModifiedBy Nullable AddedBy Nullable IsActive Boolean CreatedBy Nullable CreatedAt DateTime ModifiedBy Nullable ModifiedAt DateTime -------- Security -------- UpdateCompanyGroupCommand requests require an identity token for an authenticated identity with authorisation to permissions manage.companies.group ----------- Error Codes ----------- 5f254a5e-733e-4186-b16c-d0121bb8826f CompanyGroupIsInactive d19cc63f-1eed-4ce0-ab96-b6666bbf1f92 CompanyGroupDoesNotExist b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode f750a4a9-7b71-42cc-b291-72e70324c0b9 BadRequestCode 8703833c-35a7-4411-aa5f-6ba07794f2a6 CompanyGroupAlreadyExists ------------------------ UpdateCompanyNameCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyNameCommand CompanyId Guid NewDisplayName String NewCompanyLogoUrl String CompanyCategories List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.Category CategoryId Guid CategoryItemId Guid CompanyCurrency String CompanySize String CompanyRevenue String CompanyCreationDate Nullable CompanyProductionCapacity String CompanyIdentifiers List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.IdentifierCode TypeId Guid Value String CompanyActivity Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyNameCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode be1cedd7-4692-4b59-8caa-e35e56f3e911 InvalidCompanyActivity ------------------------------------- UpdateCompanyOAuthClientSecretCommand ------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.OAuthClient.UpdateCompanyOAuthClientSecretCommand OAuthClientId Guid NewClientSecret String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyOAuthClientSecretCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f MissingOAuthClient b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ---------------------------- UpdateCompanyRelationCommand ---------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.UpdateCompanyRelationCommand OwnerCompanyId Guid AssociatedCompanyId Guid ExternalIdentifier String ExternalName String Contacts List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.ContactModel UserId Guid ResponsibilityId Guid Comments List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.CommentViewModel Value String AuthorId Nullable CommentDate Nullable Categories List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.Category CategoryId Guid CategoryItemId Guid RetailerCustomizedAttributes List TraceOne.Api.CompanyUserMasterData.Default.Messages.ViewModels.RetailerCustomizedAttributeViewModel RetailerLabel String RetailerCode String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyRelationCommand requests require an identity token for an authenticated identity with authorisation to permissions companyRelations.write ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFoundErrorCode b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode a0c24df3-69e0-488b-9b85-a8d529f8cf98 UserResponsibilityNotFound 27d9dc81-36f0-4496-a656-79e1ce0194de SameOwnerAndAssociatedCompany 1010c5c5-c3af-4827-a2fa-2b092c8a8174 InactiveUser ce6facd9-ccbd-419d-88f2-6b378f130d55 InvalidCategory ffb5376e-23ad-4e02-9c90-7e0bcd12c1bf InactiveCategory ----------------------------- UpdateCompanyRelationsCommand ----------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.UpdateCompanyRelationsCommand CompanyIdType String OwnerCompanyId Guid Relations List TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.Relations.UpdateCompanyRelationsCommand+CompanyRelationViewModel AssociatedWithCompanyId Guid Enabled Boolean MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyRelationsCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode 27d9dc81-36f0-4496-a656-79e1ce0194de SameOwnerAndAssociatedCompany ---------------------------------------------- UpdateCompanyRelationsTargetSuspendDateCommand ---------------------------------------------- TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateCompanyRelationsTargetSuspendDateCommand RelationIds List TargetSuspendDate Nullable MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateCompanyRelationsTargetSuspendDateCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ------------------------ UpdateUserProfileCommand ------------------------ TraceOne.Api.CompanyUserMasterData.Default.Messages.Commands.UpdateUserProfileCommand UserId Guid NewTitle String NewFirstName String NewLastName String NewNotificationEmail String NewUserPhotoUrl String NewJobTitle Nullable NewPhone String NewCountry String NewTimeZone String MessageId Guid TimeOfCreationAtOrigin Nullable Headers Dictionary IdentityToken String -------- Security -------- UpdateUserProfileCommand requests require an identity token for an authenticated identity. ----------- Error Codes ----------- adfeda72-c9a3-4ecf-87d6-9bbd4965ad1f NotFound b39c2b9b-6952-46f4-b99e-a1361dc7aa8b ForbiddenErrorCode ================================================= ------------------------ API Platform Error Codes ------------------------ 2f65ced1-ee26-400a-aa79-e0ce02092962 ApiMessageWithMessageIdHasAlreadyBeenProcessed 15541748-28da-4753-807e-7a8104c45d74 MessageLogItemCreationFailure 7520255f-152f-4e08-a081-f1bda0ff4d43 AuthenticatorFailure 6a86426a-6082-4a9e-a295-937a81ea393f AuthenticationRequired e3fcfb67-4e06-413c-8a8f-4519e01c5a87 AuthorisationFailure d4b50726-e3d1-432c-ab70-46baec1dbf8c AuthorisationRequired