PUT api/Companies/EditCompany
Request Information
URI Parameters
None.
Body Parameters
CompanyModelWrapperName | Description | Type | Additional information |
---|---|---|---|
company | CompanyModel |
None. |
|
connId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "company": { "Id": 1, "ConnectionId": 2, "DBCode": "sample string 3", "DBSyncId": 4, "DBSyncUser": "sample string 5", "DBSyncPass": "sample string 6", "ActiveToken": "sample string 7", "TokenExpires": "2025-04-03T16:03:18.0209692-06:00", "Busy": true, "Active": true, "LastAttempt": "2025-04-03T16:03:18.0209692-06:00", "SpecialFields": true, "LastAttemptSAP": "2025-04-03T16:03:18.0209692-06:00", "SBOConsecutivoFieldName": "sample string 11", "ManualNum": true, "SBOClaveFieldName": "sample string 13", "SBOStatusFieldName": "sample string 14", "ActiveNfe": true }, "connId": 1 }
application/xml, text/xml
Sample:
<CompanyModelWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSFEAdmin.MODELS"> <company> <Active>true</Active> <ActiveNfe>true</ActiveNfe> <ActiveToken>sample string 7</ActiveToken> <Busy>true</Busy> <ConnectionId>2</ConnectionId> <DBCode>sample string 3</DBCode> <DBSyncId>4</DBSyncId> <DBSyncPass>sample string 6</DBSyncPass> <DBSyncUser>sample string 5</DBSyncUser> <Id>1</Id> <LastAttempt>2025-04-03T16:03:18.0209692-06:00</LastAttempt> <LastAttemptSAP>2025-04-03T16:03:18.0209692-06:00</LastAttemptSAP> <ManualNum>true</ManualNum> <SBOClaveFieldName>sample string 13</SBOClaveFieldName> <SBOConsecutivoFieldName>sample string 11</SBOConsecutivoFieldName> <SBOStatusFieldName>sample string 14</SBOStatusFieldName> <SpecialFields>true</SpecialFields> <TokenExpires>2025-04-03T16:03:18.0209692-06:00</TokenExpires> </company> <connId>1</connId> </CompanyModelWrapper>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |