POST {language}/company/department
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
InsertDepartmentInformationRequestName | Description | Type | Additional information |
---|---|---|---|
Name | 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:
{ "Name": "sample string 1", "Remark": "sample string 2", "CompanyId": "f984ec46-b883-47f8-8308-b26b38f82705", "RequestId": "db097d41-19ac-4bf9-ab73-7e18add067f3", "Language": "sample string 5", "LanguageLogin": "sample string 6", "AuthToken": "sample string 7", "ClientId": "sample string 8", "PageIndex": 9, "PageSize": 10 }
application/xml, text/xml
Sample:
<InsertDepartmentInformationRequest 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 7</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 5</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">9</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">db097d41-19ac-4bf9-ab73-7e18add067f3</RequestId> <CompanyId>f984ec46-b883-47f8-8308-b26b38f82705</CompanyId> <Name>sample string 1</Name> <Remark>sample string 2</Remark> </InsertDepartmentInformationRequest>
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.