POST api/DrivingEnd/SetCustomerProposal

Request Information

URI Parameters

None.

Body Parameters

DrivingEndCustomerProposalClass
NameDescriptionTypeAdditional information
DrivingNo

integer

None.

CustomerNo

integer

None.

CustomerName

string

None.

StartDate

date

None.

StartAddress

string

None.

EndDate

date

None.

EndAddress

string

None.

ProposalComment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DrivingNo": 1,
  "CustomerNo": 2,
  "CustomerName": "sample string 3",
  "StartDate": "2025-10-26T11:53:50.1605079+09:00",
  "StartAddress": "sample string 4",
  "EndDate": "2025-10-26T11:53:50.1605079+09:00",
  "EndAddress": "sample string 5",
  "ProposalComment": "sample string 6"
}

application/xml, text/xml

Sample:
<DrivingEndCustomerProposalClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mosiler.Admin.API.Controllers">
  <CustomerName>sample string 3</CustomerName>
  <CustomerNo>2</CustomerNo>
  <DrivingNo>1</DrivingNo>
  <EndAddress>sample string 5</EndAddress>
  <EndDate>2025-10-26T11:53:50.1605079+09:00</EndDate>
  <ProposalComment>sample string 6</ProposalComment>
  <StartAddress>sample string 4</StartAddress>
  <StartDate>2025-10-26T11:53:50.1605079+09:00</StartDate>
</DrivingEndCustomerProposalClass>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DrivingEndCustomerProposalClass'.

Response Information

Resource Description

ProcessModelResult
NameDescriptionTypeAdditional information
Result

integer

None.

ResultCode

string

None.

ResultMessage

string

None.

Data

string

None.

JsonData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 1,
  "ResultCode": "sample string 2",
  "ResultMessage": "sample string 3",
  "Data": "sample string 4",
  "JsonData": "sample string 5"
}

application/xml, text/xml

Sample:
<ProcessModelResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mosiler.Admin.API.Controllers">
  <Data>sample string 4</Data>
  <JsonData>sample string 5</JsonData>
  <Result>1</Result>
  <ResultCode>sample string 2</ResultCode>
  <ResultMessage>sample string 3</ResultMessage>
</ProcessModelResult>