PUT api/job-types/{id}
Put job type PUT: api/job-types/{id} Access: admin
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
JobTypeDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Job type id |
globally unique identifier |
None. |
Name |
Job type name |
string |
Required |
Description |
Job type description |
string |
None. |
CompanyId |
Job type company: this job type only for this company, other companies can not viewing this type |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "35804661-9595-4c8a-a713-430bcfa460ab", "Name": "sample string 2", "Description": "sample string 3", "CompanyId": "365d687b-853a-4200-80ee-eb687fa3615b" }
application/xml, text/xml
Sample:
<JobTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <CompanyId>365d687b-853a-4200-80ee-eb687fa3615b</CompanyId> <Description>sample string 3</Description> <Id>35804661-9595-4c8a-a713-430bcfa460ab</Id> <Name>sample string 2</Name> </JobTypeDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.