POST api/Account/UpdateProfile
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "GroupID": 1, "AccountID": 2, "AccountNo": "sample string 3", "IsActive": true, "CategoryID": 1, "Notes": "sample string 4", "ShippingAddress": "sample string 5", "InvoicingAddress": "sample string 6", "Phone": "sample string 7", "Email": "sample string 8", "TemplateID": 1, "Name": "sample string 9", "DataValidationDayRange": 10, "DestinationUrl": "sample string 11", "IsActiveForMatching": true, "Token": "sample string 12", "FreeText": "sample string 13", "GroupIds": [ 1, 2, 3 ], "FromIndex": 14, "ToIndex": 15, "IsWebCalling": true, "RequestMode": "sample string 17", "Client": "sample string 18", "AppVersion": "sample string 19", "AppOperatingSystem": "sample string 20", "AppName": "sample string 21", "MasterUserID": 22, "IsRecurringRequest": true }
text/html
Sample:
{"GroupID":1,"AccountID":2,"AccountNo":"sample string 3","IsActive":true,"CategoryID":1,"Notes":"sample string 4","ShippingAddress":"sample string 5","InvoicingAddress":"sample string 6","Phone":"sample string 7","Email":"sample string 8","TemplateID":1,"Name":"sample string 9","DataValidationDayRange":10,"DestinationUrl":"sample string 11","IsActiveForMatching":true,"Token":"sample string 12","FreeText":"sample string 13","GroupIds":[1,2,3],"FromIndex":14,"ToIndex":15,"IsWebCalling":true,"RequestMode":"sample string 17","Client":"sample string 18","AppVersion":"sample string 19","AppOperatingSystem":"sample string 20","AppName":"sample string 21","MasterUserID":22,"IsRecurringRequest":true}
application/xml, text/xml
Sample:
<APIUpdateAccountProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels"> <AppName xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 21</AppName> <AppOperatingSystem xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 20</AppOperatingSystem> <AppVersion xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 19</AppVersion> <Client xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 18</Client> <FreeText xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 13</FreeText> <FromIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">14</FromIndex> <GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </GroupIds> <IsRecurringRequest xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsRecurringRequest> <IsWebCalling xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsWebCalling> <MasterUserID xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">22</MasterUserID> <RequestMode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 17</RequestMode> <ToIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">15</ToIndex> <Token xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 12</Token> <AccountID>2</AccountID> <AccountNo>sample string 3</AccountNo> <CategoryID>1</CategoryID> <DataValidationDayRange>10</DataValidationDayRange> <DestinationUrl>sample string 11</DestinationUrl> <Email>sample string 8</Email> <GroupID>1</GroupID> <InvoicingAddress>sample string 6</InvoicingAddress> <IsActive>true</IsActive> <IsActiveForMatching>true</IsActiveForMatching> <Name>sample string 9</Name> <Notes>sample string 4</Notes> <Phone>sample string 7</Phone> <ShippingAddress>sample string 5</ShippingAddress> <TemplateID>1</TemplateID> </APIUpdateAccountProfileRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "UpdateAccount": { "GroupID": 1, "AccountID": 2, "ParentGroupID": 3, "Name": "sample string 4", "Description": "sample string 5", "DataValidationDayRange": 6, "AccountNo": "sample string 7", "CategoryID": 1, "CategoryName": "sample string 8", "ShippingAddress": "sample string 9", "InvoicingAddress": "sample string 10", "Phone": "sample string 11", "EmailAddress": "sample string 12", "DestinationURL": "sample string 13", "IsActiveForMatching": true, "Notes": "sample string 15", "IsActive": true, "RegistrationDate": "2025-04-03T22:28:18.0782953+02:00", "VehicleCount": 18, "UserCount": 19, "ContractCount": 20, "ContractUserCount": 21, "ContractUnitCount": 22, "UserAdminCount": 23, "UserCustomerCount": 24, "UserDriverCount": 25, "TicketCount": 26, "TicketOpenCount": 27, "TicketClosedCount": 28, "VehicleActiveCount": 29, "VehicleArchiveCount": 30, "UnitCount": 31, "UnitWorkingCount": 32, "UnitFaultyCount": 33, "SimCount": 34, "SimMBPerSim": 35, "SimSMSPerSim": 36, "ContractStatusText": "sample string 37", "UserStatusText": "sample string 38", "UnitStatusText": "sample string 39", "TicketStatusText": "sample string 40", "VehicleStatusText": "sample string 41", "SIMStatusText": "sample string 42", "IsContractWarning": true, "IsUserWarning": true, "IsUnitWarning": true, "IsTicketWarning": true, "IsVehicleWarning": true, "IsSIMWarning": true, "AccessRights": { "HasRetrieveAccess": true, "HasUpdateAccess": true, "HasDeleteAccess": true, "HasCreateAccess": true } }, "UpdateMessages": [ { "ID": 1, "Message": "sample string 2", "MessageType": 3 }, { "ID": 1, "Message": "sample string 2", "MessageType": 3 }, { "ID": 1, "Message": "sample string 2", "MessageType": 3 } ], "ErrorCode": 1, "Success": true, "ErrorMessage": "sample string 3", "MenuAccessData": { "HasAccessToMap": true, "HasAccessToVehicle": true, "HasAccessToVehicleAdministration": true, "HasAccessToDriver": true, "HasAccessToPOI": true, "HasAccessToReports": true, "HasAccessToSettings": true, "HasAccessToTrips": true, "HasAccessToTranslations": true, "HasAccessToDashboard": true, "HasAccessToLogBook": true, "HasAccessToGroup": true, "HasAccessToTemplate": true, "HasAccessToUnit": true, "HasAccessToUser": true, "HasAccessToTicket": true, "HasAccessToContract": true, "HasAccessToSIM": true, "HasAccessToCommand": true, "HasAccessToUnitProfile": true, "HasAccessToProfileTrigger": true, "HasAccessToScript": true, "HasAccessToTriggerSchedule": true }, "StatusCode": 4, "ComponentFilterIds": [ 1, 2, 3 ] }
text/html
Sample:
{"UpdateAccount":{"GroupID":1,"AccountID":2,"ParentGroupID":3,"Name":"sample string 4","Description":"sample string 5","DataValidationDayRange":6,"AccountNo":"sample string 7","CategoryID":1,"CategoryName":"sample string 8","ShippingAddress":"sample string 9","InvoicingAddress":"sample string 10","Phone":"sample string 11","EmailAddress":"sample string 12","DestinationURL":"sample string 13","IsActiveForMatching":true,"Notes":"sample string 15","IsActive":true,"RegistrationDate":"2025-04-03T22:28:18.0782953+02:00","VehicleCount":18,"UserCount":19,"ContractCount":20,"ContractUserCount":21,"ContractUnitCount":22,"UserAdminCount":23,"UserCustomerCount":24,"UserDriverCount":25,"TicketCount":26,"TicketOpenCount":27,"TicketClosedCount":28,"VehicleActiveCount":29,"VehicleArchiveCount":30,"UnitCount":31,"UnitWorkingCount":32,"UnitFaultyCount":33,"SimCount":34,"SimMBPerSim":35,"SimSMSPerSim":36,"ContractStatusText":"sample string 37","UserStatusText":"sample string 38","UnitStatusText":"sample string 39","TicketStatusText":"sample string 40","VehicleStatusText":"sample string 41","SIMStatusText":"sample string 42","IsContractWarning":true,"IsUserWarning":true,"IsUnitWarning":true,"IsTicketWarning":true,"IsVehicleWarning":true,"IsSIMWarning":true,"AccessRights":{"HasRetrieveAccess":true,"HasUpdateAccess":true,"HasDeleteAccess":true,"HasCreateAccess":true}},"UpdateMessages":[{"ID":1,"Message":"sample string 2","MessageType":3},{"ID":1,"Message":"sample string 2","MessageType":3},{"ID":1,"Message":"sample string 2","MessageType":3}],"ErrorCode":1,"Success":true,"ErrorMessage":"sample string 3","MenuAccessData":{"HasAccessToMap":true,"HasAccessToVehicle":true,"HasAccessToVehicleAdministration":true,"HasAccessToDriver":true,"HasAccessToPOI":true,"HasAccessToReports":true,"HasAccessToSettings":true,"HasAccessToTrips":true,"HasAccessToTranslations":true,"HasAccessToDashboard":true,"HasAccessToLogBook":true,"HasAccessToGroup":true,"HasAccessToTemplate":true,"HasAccessToUnit":true,"HasAccessToUser":true,"HasAccessToTicket":true,"HasAccessToContract":true,"HasAccessToSIM":true,"HasAccessToCommand":true,"HasAccessToUnitProfile":true,"HasAccessToProfileTrigger":true,"HasAccessToScript":true,"HasAccessToTriggerSchedule":true},"StatusCode":4,"ComponentFilterIds":[1,2,3]}
application/xml, text/xml
Sample:
<APIUpdateAccountProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.Transport">Success</ResponseCode> <ComponentFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </ComponentFilterIds> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 3</ErrorMessage> <MenuAccessData xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <HasAccessToCommand>true</HasAccessToCommand> <HasAccessToContract>true</HasAccessToContract> <HasAccessToDashboard>true</HasAccessToDashboard> <HasAccessToDriver>true</HasAccessToDriver> <HasAccessToGroup>true</HasAccessToGroup> <HasAccessToLogBook>true</HasAccessToLogBook> <HasAccessToMap>true</HasAccessToMap> <HasAccessToPOI>true</HasAccessToPOI> <HasAccessToProfileTrigger>true</HasAccessToProfileTrigger> <HasAccessToReports>true</HasAccessToReports> <HasAccessToSIM>true</HasAccessToSIM> <HasAccessToScript>true</HasAccessToScript> <HasAccessToSettings>true</HasAccessToSettings> <HasAccessToTemplate>true</HasAccessToTemplate> <HasAccessToTicket>true</HasAccessToTicket> <HasAccessToTranslations>true</HasAccessToTranslations> <HasAccessToTriggerSchedule>true</HasAccessToTriggerSchedule> <HasAccessToTrips>true</HasAccessToTrips> <HasAccessToUnit>true</HasAccessToUnit> <HasAccessToUnitProfile>true</HasAccessToUnitProfile> <HasAccessToUser>true</HasAccessToUser> <HasAccessToVehicle>true</HasAccessToVehicle> <HasAccessToVehicleAdministration>true</HasAccessToVehicleAdministration> </MenuAccessData> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">4</StatusCode> <Success xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</Success> <ErrorCode>1</ErrorCode> <UpdateAccount> <AccessRights xmlns:d3p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d3p1:HasCreateAccess>true</d3p1:HasCreateAccess> <d3p1:HasDeleteAccess>true</d3p1:HasDeleteAccess> <d3p1:HasRetrieveAccess>true</d3p1:HasRetrieveAccess> <d3p1:HasUpdateAccess>true</d3p1:HasUpdateAccess> </AccessRights> <AccountID>2</AccountID> <AccountNo>sample string 7</AccountNo> <CategoryID>1</CategoryID> <CategoryName>sample string 8</CategoryName> <ContractCount>20</ContractCount> <ContractStatusText>sample string 37</ContractStatusText> <ContractUnitCount>22</ContractUnitCount> <ContractUserCount>21</ContractUserCount> <DataValidationDayRange>6</DataValidationDayRange> <Description>sample string 5</Description> <DestinationURL>sample string 13</DestinationURL> <EmailAddress>sample string 12</EmailAddress> <GroupID>1</GroupID> <InvoicingAddress>sample string 10</InvoicingAddress> <IsActive>true</IsActive> <IsActiveForMatching>true</IsActiveForMatching> <IsContractWarning>true</IsContractWarning> <IsSIMWarning>true</IsSIMWarning> <IsTicketWarning>true</IsTicketWarning> <IsUnitWarning>true</IsUnitWarning> <IsUserWarning>true</IsUserWarning> <IsVehicleWarning>true</IsVehicleWarning> <Name>sample string 4</Name> <Notes>sample string 15</Notes> <ParentGroupID>3</ParentGroupID> <Phone>sample string 11</Phone> <RegistrationDate>2025-04-03T22:28:18.0782953+02:00</RegistrationDate> <SIMStatusText>sample string 42</SIMStatusText> <ShippingAddress>sample string 9</ShippingAddress> <SimCount>34</SimCount> <SimMBPerSim>35</SimMBPerSim> <SimSMSPerSim>36</SimSMSPerSim> <TicketClosedCount>28</TicketClosedCount> <TicketCount>26</TicketCount> <TicketOpenCount>27</TicketOpenCount> <TicketStatusText>sample string 40</TicketStatusText> <UnitCount>31</UnitCount> <UnitFaultyCount>33</UnitFaultyCount> <UnitStatusText>sample string 39</UnitStatusText> <UnitWorkingCount>32</UnitWorkingCount> <UserAdminCount>23</UserAdminCount> <UserCount>19</UserCount> <UserCustomerCount>24</UserCustomerCount> <UserDriverCount>25</UserDriverCount> <UserStatusText>sample string 38</UserStatusText> <VehicleActiveCount>29</VehicleActiveCount> <VehicleArchiveCount>30</VehicleArchiveCount> <VehicleCount>18</VehicleCount> <VehicleStatusText>sample string 41</VehicleStatusText> </UpdateAccount> <UpdateMessages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Model"> <d2p1:UserUpdateMessage> <d2p1:ID>1</d2p1:ID> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:MessageType>3</d2p1:MessageType> </d2p1:UserUpdateMessage> <d2p1:UserUpdateMessage> <d2p1:ID>1</d2p1:ID> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:MessageType>3</d2p1:MessageType> </d2p1:UserUpdateMessage> <d2p1:UserUpdateMessage> <d2p1:ID>1</d2p1:ID> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:MessageType>3</d2p1:MessageType> </d2p1:UserUpdateMessage> </UpdateMessages> </APIUpdateAccountProfileResponse>