POST api/TSPRegistration/{tspRegistrationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspRegistrationId | string |
None. |
Body Parameters
TSPRegistrationCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyReferenceNo | string |
None. |
|
CompanyName | string |
None. |
|
string |
None. |
||
Address | string |
None. |
|
City | string |
None. |
|
Postcode | string |
None. |
|
CountryId | globally unique identifier |
None. |
|
StateId | globally unique identifier |
None. |
|
CompanyWebsite | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "a27cee72-aef4-4fd4-8441-2c6fa86169ac", "CompanyReferenceNo": "sample string 2", "CompanyName": "sample string 3", "Email": "sample string 4", "Address": "sample string 5", "City": "sample string 6", "Postcode": "sample string 7", "CountryId": "e8e688c7-21a2-45b5-822c-25d2c58911d1", "StateId": "d3202e3f-dea7-49a2-a3e0-1f7327d7e75e", "CompanyWebsite": "sample string 10" }
application/xml, text/xml
Sample:
<TSPRegistrationCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels"> <Address>sample string 5</Address> <City>sample string 6</City> <CompanyName>sample string 3</CompanyName> <CompanyReferenceNo>sample string 2</CompanyReferenceNo> <CompanyWebsite>sample string 10</CompanyWebsite> <CountryId>e8e688c7-21a2-45b5-822c-25d2c58911d1</CountryId> <Email>sample string 4</Email> <Id>a27cee72-aef4-4fd4-8441-2c6fa86169ac</Id> <Postcode>sample string 7</Postcode> <StateId>d3202e3f-dea7-49a2-a3e0-1f7327d7e75e</StateId> </TSPRegistrationCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" a27cee72-aef4-4fd4-8441-2c6fa86169ac --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CompanyReferenceNo" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CompanyName" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Email" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Address" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="City" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Postcode" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CountryId" e8e688c7-21a2-45b5-822c-25d2c58911d1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StateId" d3202e3f-dea7-49a2-a3e0-1f7327d7e75e --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CompanyWebsite" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.