PUT {language}/company/accountingEntryDefinition
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
UpdateAccountingEntryDefinitionRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | globally unique identifier |
None. |
|
AccountingEntryDefinitionName | string |
None. |
|
Order | integer |
None. |
|
PayItems | Collection of PayItemRequest |
None. |
|
GLAccountType | string |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "d0a7dc42-d8fc-40d0-a726-72b99a353e27", "CompanyId": "97aadc31-aad3-4cbe-bc16-359bcb7ba0ba", "AccountingEntryDefinitionName": "sample string 3", "Order": 4, "PayItems": [ { "PayItem": "sample string 1", "Debit": { "GLAccountId": "bdf0ecfc-361a-42b8-960a-2a9738e67fc9", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "89cdaa2e-e08f-49d1-8846-032e51764d25", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }, "Credit": { "GLAccountId": "bdf0ecfc-361a-42b8-960a-2a9738e67fc9", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "89cdaa2e-e08f-49d1-8846-032e51764d25", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 } }, { "PayItem": "sample string 1", "Debit": { "GLAccountId": "bdf0ecfc-361a-42b8-960a-2a9738e67fc9", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "89cdaa2e-e08f-49d1-8846-032e51764d25", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }, "Credit": { "GLAccountId": "bdf0ecfc-361a-42b8-960a-2a9738e67fc9", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "89cdaa2e-e08f-49d1-8846-032e51764d25", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 } } ], "GLAccountType": "sample string 5", "RequestId": "06c4751a-7c10-4fa6-8913-1cf7f335f29f", "Language": "sample string 7", "LanguageLogin": "sample string 8", "AuthToken": "sample string 9", "ClientId": "sample string 10", "PageIndex": 11, "PageSize": 12 }
application/xml, text/xml
Sample:
<UpdateAccountingEntryDefinitionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 10</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">12</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">06c4751a-7c10-4fa6-8913-1cf7f335f29f</RequestId> <AccountingEntryDefinitionName>sample string 3</AccountingEntryDefinitionName> <CompanyId>97aadc31-aad3-4cbe-bc16-359bcb7ba0ba</CompanyId> <GLAccountType>sample string 5</GLAccountType> <Id>d0a7dc42-d8fc-40d0-a726-72b99a353e27</Id> <Order>4</Order> <PayItems> <PayItemRequest> <Credit> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">89cdaa2e-e08f-49d1-8846-032e51764d25</RequestId> <GLAccountId>bdf0ecfc-361a-42b8-960a-2a9738e67fc9</GLAccountId> <IsAllocateDepartment>true</IsAllocateDepartment> <IsAllocateTrackingCategory>true</IsAllocateTrackingCategory> <PayItem>sample string 2</PayItem> </Credit> <Debit> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">89cdaa2e-e08f-49d1-8846-032e51764d25</RequestId> <GLAccountId>bdf0ecfc-361a-42b8-960a-2a9738e67fc9</GLAccountId> <IsAllocateDepartment>true</IsAllocateDepartment> <IsAllocateTrackingCategory>true</IsAllocateTrackingCategory> <PayItem>sample string 2</PayItem> </Debit> <PayItem>sample string 1</PayItem> </PayItemRequest> <PayItemRequest> <Credit> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">89cdaa2e-e08f-49d1-8846-032e51764d25</RequestId> <GLAccountId>bdf0ecfc-361a-42b8-960a-2a9738e67fc9</GLAccountId> <IsAllocateDepartment>true</IsAllocateDepartment> <IsAllocateTrackingCategory>true</IsAllocateTrackingCategory> <PayItem>sample string 2</PayItem> </Credit> <Debit> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">89cdaa2e-e08f-49d1-8846-032e51764d25</RequestId> <GLAccountId>bdf0ecfc-361a-42b8-960a-2a9738e67fc9</GLAccountId> <IsAllocateDepartment>true</IsAllocateDepartment> <IsAllocateTrackingCategory>true</IsAllocateTrackingCategory> <PayItem>sample string 2</PayItem> </Debit> <PayItem>sample string 1</PayItem> </PayItemRequest> </PayItems> </UpdateAccountingEntryDefinitionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.