POST api/TSPRegistration/Focal/{tspRegistrationFocalId}/UpdatedContacts
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspRegistrationFocalId | string |
None. |
Body Parameters
TSPRegistrationFocalContactsListingCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
ContactList | Collection of ContactResultModel |
None. |
|
TSPRegistrationFocalId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactList": [ { "Id": "056598aa-5df2-481f-813b-c8908a1f80dd", "PhoneNumber": "sample string 2", "Type": "sample string 3", "IsDefault": true, "IsDeleted": true }, { "Id": "056598aa-5df2-481f-813b-c8908a1f80dd", "PhoneNumber": "sample string 2", "Type": "sample string 3", "IsDefault": true, "IsDeleted": true } ], "TSPRegistrationFocalId": "e094c2d8-4d8f-4b14-9a8e-991bf71a33ce" }
application/xml, text/xml
Sample:
<TSPRegistrationFocalContactsListingCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels"> <ContactList xmlns:d2p1="http://schemas.datacontract.org/2004/07/iP.Products.Domains.MySDS.Models"> <d2p1:ContactResultModel> <d2p1:Id>056598aa-5df2-481f-813b-c8908a1f80dd</d2p1:Id> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber> <d2p1:Type>sample string 3</d2p1:Type> </d2p1:ContactResultModel> <d2p1:ContactResultModel> <d2p1:Id>056598aa-5df2-481f-813b-c8908a1f80dd</d2p1:Id> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber> <d2p1:Type>sample string 3</d2p1:Type> </d2p1:ContactResultModel> </ContactList> <TSPRegistrationFocalId>e094c2d8-4d8f-4b14-9a8e-991bf71a33ce</TSPRegistrationFocalId> </TSPRegistrationFocalContactsListingCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].Id" 056598aa-5df2-481f-813b-c8908a1f80dd --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].PhoneNumber" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].Type" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].IsDefault" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].IsDeleted" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[1].Id" 056598aa-5df2-481f-813b-c8908a1f80dd --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[1].PhoneNumber" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[1].Type" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[1].IsDefault" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[1].IsDeleted" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationFocalId" e094c2d8-4d8f-4b14-9a8e-991bf71a33ce --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.