POST api/Wizard/SaveStep1
Request Information
URI Parameters
None.
Body Parameters
Step1ViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyName | string |
Required String length: inclusive between 0 and 100 |
|
| CompanyId | globally unique identifier |
None. |
|
| AddressLine1 | string |
Required String length: inclusive between 0 and 50 |
|
| AddressLine2 | string |
String length: inclusive between 0 and 50 |
|
| AddressLine3 | string |
String length: inclusive between 0 and 50 |
|
| Town | string |
Required String length: inclusive between 0 and 50 |
|
| County | string |
String length: inclusive between 0 and 50 |
|
| Country | string |
String length: inclusive between 0 and 50 |
|
| Postcode | string |
String length: inclusive between 0 and 10 |
|
| Website | string |
String length: inclusive between 0 and 50 |
|
| EmailAddress | string |
Required String length: inclusive between 0 and 100 |
|
| TelephoneNo | string |
Required String length: inclusive between 0 and 25 |
|
| FaxNo | string |
String length: inclusive between 0 and 25 |
|
| Simulated | boolean |
None. |
|
| PaymentStatusId | integer |
None. |
|
| ApplicationId | string |
None. |
|
| UserId | string |
None. |
|
| Scheme | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"companyName": "sample string 1",
"companyId": "2e245db0-5a8d-4c0e-840e-4b290814102d",
"addressLine1": "sample string 2",
"addressLine2": "sample string 3",
"addressLine3": "sample string 4",
"town": "sample string 5",
"county": "sample string 6",
"country": "sample string 7",
"postcode": "sample string 8",
"website": "sample string 9",
"emailAddress": "sample string 10",
"telephoneNo": "sample string 11",
"faxNo": "sample string 12",
"simulated": true,
"paymentStatusId": 1,
"applicationId": "sample string 14",
"userId": "sample string 15",
"scheme": "sample string 16"
}
application/xml, text/xml
Sample:
<WizardViewModels.Step1ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model"> <ApplicationId>sample string 14</ApplicationId> <Scheme>sample string 16</Scheme> <UserId>sample string 15</UserId> <AddressLine1>sample string 2</AddressLine1> <AddressLine2>sample string 3</AddressLine2> <AddressLine3>sample string 4</AddressLine3> <CompanyId>2e245db0-5a8d-4c0e-840e-4b290814102d</CompanyId> <CompanyName>sample string 1</CompanyName> <Country>sample string 7</Country> <County>sample string 6</County> <EmailAddress>sample string 10</EmailAddress> <FaxNo>sample string 12</FaxNo> <PaymentStatusId>1</PaymentStatusId> <Postcode>sample string 8</Postcode> <Simulated>true</Simulated> <TelephoneNo>sample string 11</TelephoneNo> <Town>sample string 5</Town> <Website>sample string 9</Website> </WizardViewModels.Step1ViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.