POST api/TSP/Focal/UpdatedContacts/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
None. |
Body Parameters
TSPFocalContactsListingCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
ContactList | Collection of ContactResultModel |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactList": [ { "Id": "eb63b97d-1ad2-4801-ac50-bbd24fc05eb7", "PhoneNumber": "sample string 2", "Type": "sample string 3", "IsDefault": true, "IsDeleted": true }, { "Id": "eb63b97d-1ad2-4801-ac50-bbd24fc05eb7", "PhoneNumber": "sample string 2", "Type": "sample string 3", "IsDefault": true, "IsDeleted": true } ], "UserId": "76c3a2ce-04cd-4a92-9be1-fa94b76021a9" }
application/xml, text/xml
Sample:
<TSPFocalContactsListingCreateUpdateViewModel 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>eb63b97d-1ad2-4801-ac50-bbd24fc05eb7</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>eb63b97d-1ad2-4801-ac50-bbd24fc05eb7</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> <UserId>76c3a2ce-04cd-4a92-9be1-fa94b76021a9</UserId> </TSPFocalContactsListingCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactList[0].Id" eb63b97d-1ad2-4801-ac50-bbd24fc05eb7 --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" eb63b97d-1ad2-4801-ac50-bbd24fc05eb7 --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="UserId" 76c3a2ce-04cd-4a92-9be1-fa94b76021a9 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.