POST {language}/company/accountingEntryDefinition
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
InsertAccountingEntryDefinitionRequestName | Description | Type | Additional information |
---|---|---|---|
CompanyId | globally unique identifier |
None. |
|
AccountingEntryDefinitionName | string |
None. |
|
Order | integer |
None. |
|
GLAccountType | string |
None. |
|
PayItems | Collection of PayItemRequest |
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:
{ "CompanyId": "11f828d4-8c4d-4ab9-8553-7b7ce497bc73", "AccountingEntryDefinitionName": "sample string 2", "Order": 3, "GLAccountType": "sample string 4", "PayItems": [ { "PayItem": "sample string 1", "Debit": { "GLAccountId": "d646fe4c-0096-48ee-ae2b-c034f1444d08", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "646b65b9-730f-4e07-bdd0-dad43c0b2c99", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }, "Credit": { "GLAccountId": "d646fe4c-0096-48ee-ae2b-c034f1444d08", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "646b65b9-730f-4e07-bdd0-dad43c0b2c99", "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": "d646fe4c-0096-48ee-ae2b-c034f1444d08", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "646b65b9-730f-4e07-bdd0-dad43c0b2c99", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }, "Credit": { "GLAccountId": "d646fe4c-0096-48ee-ae2b-c034f1444d08", "PayItem": "sample string 2", "IsAllocateTrackingCategory": true, "IsAllocateDepartment": true, "RequestId": "646b65b9-730f-4e07-bdd0-dad43c0b2c99", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 } } ], "RequestId": "05e96dff-f64e-4eab-9ad9-79018414ea18", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }
application/xml, text/xml
Sample:
<InsertAccountingEntryDefinitionRequest 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 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">05e96dff-f64e-4eab-9ad9-79018414ea18</RequestId> <AccountingEntryDefinitionName>sample string 2</AccountingEntryDefinitionName> <CompanyId>11f828d4-8c4d-4ab9-8553-7b7ce497bc73</CompanyId> <GLAccountType>sample string 4</GLAccountType> <Order>3</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">646b65b9-730f-4e07-bdd0-dad43c0b2c99</RequestId> <GLAccountId>d646fe4c-0096-48ee-ae2b-c034f1444d08</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">646b65b9-730f-4e07-bdd0-dad43c0b2c99</RequestId> <GLAccountId>d646fe4c-0096-48ee-ae2b-c034f1444d08</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">646b65b9-730f-4e07-bdd0-dad43c0b2c99</RequestId> <GLAccountId>d646fe4c-0096-48ee-ae2b-c034f1444d08</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">646b65b9-730f-4e07-bdd0-dad43c0b2c99</RequestId> <GLAccountId>d646fe4c-0096-48ee-ae2b-c034f1444d08</GLAccountId> <IsAllocateDepartment>true</IsAllocateDepartment> <IsAllocateTrackingCategory>true</IsAllocateTrackingCategory> <PayItem>sample string 2</PayItem> </Debit> <PayItem>sample string 1</PayItem> </PayItemRequest> </PayItems> </InsertAccountingEntryDefinitionRequest>
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.