POST {language}/company/{companyId}/expenseType
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyId | globally unique identifier |
Required |
|
language | string |
Required |
Body Parameters
InsertExpenseTypeRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
TypeName | string |
None. |
|
Remark | string |
None. |
|
CompanyId | globally unique identifier |
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": "6ccc32c8-6d58-4138-a801-ccae55793498", "TypeName": "sample string 2", "Remark": "sample string 3", "CompanyId": "de1081f4-7272-4f26-853e-096d1ca2e32f", "RequestId": "fdfd922e-5a7c-4749-ba8b-475770e68902", "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:
<InsertExpenseTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.ViewModels"> <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">fdfd922e-5a7c-4749-ba8b-475770e68902</RequestId> <CompanyId>de1081f4-7272-4f26-853e-096d1ca2e32f</CompanyId> <Id>6ccc32c8-6d58-4138-a801-ccae55793498</Id> <Remark>sample string 3</Remark> <TypeName>sample string 2</TypeName> </InsertExpenseTypeRequest>
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.