POST api/upsert-tractor-status
Request Information
URI Parameters
None.
Body Parameters
TractorStatusModelName | Description | Type | Additional information |
---|---|---|---|
TractorStatusId | integer |
None. |
|
TractorNumber | string |
None. |
|
Config | string |
None. |
|
TestActivityPlan | string |
None. |
|
TestingHours | integer |
None. |
|
ActualTestingHours | integer |
None. |
|
Remarks | string |
None. |
|
DeletedBy | integer |
None. |
|
ProjectId | integer |
None. |
|
ProjectName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TractorStatusId": 1, "TractorNumber": "sample string 1", "Config": "sample string 2", "TestActivityPlan": "sample string 3", "TestingHours": 1, "ActualTestingHours": 1, "Remarks": "sample string 4", "DeletedBy": 1, "ProjectId": 1, "ProjectName": "sample string 5" }
application/xml, text/xml
Sample:
<TractorStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.SetupModels"> <ActualTestingHours>1</ActualTestingHours> <Config>sample string 2</Config> <DeletedBy>1</DeletedBy> <ProjectId>1</ProjectId> <ProjectName>sample string 5</ProjectName> <Remarks>sample string 4</Remarks> <TestActivityPlan>sample string 3</TestActivityPlan> <TestingHours>1</TestingHours> <TractorNumber>sample string 1</TractorNumber> <TractorStatusId>1</TractorStatusId> </TractorStatusModel>
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. |