POST api/Company/PostCompanyUDFs?userMappId={userMappId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userMappId | integer |
Required |
Body Parameters
CompanyUDF| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| DescriptionES | string |
None. |
|
| DescriptionEN | string |
None. |
|
| FieldType | integer |
None. |
|
| TargetDocument | integer |
None. |
|
| ValidValues | string |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"DescriptionES": "sample string 3",
"DescriptionEN": "sample string 4",
"FieldType": 5,
"TargetDocument": 6,
"ValidValues": "sample string 7",
"CompanyId": 8
}
application/xml, text/xml
Sample:
<CompanyUDF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ROUTE.MODELS"> <CompanyId>8</CompanyId> <DescriptionEN>sample string 4</DescriptionEN> <DescriptionES>sample string 3</DescriptionES> <FieldType>5</FieldType> <Id>1</Id> <Name>sample string 2</Name> <TargetDocument>6</TargetDocument> <ValidValues>sample string 7</ValidValues> </CompanyUDF>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |