GET User/CommunicationAttachmentType/GetAttachementTypeListByCommunicationType/{id}?communicationTypeEnum={communicationTypeEnum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

communicationTypeEnum

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ServiceResponseOfListOfCommunicationTypeAttachmentViewModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

StatusCode

integer

None.

Data

Collection of CommunicationTypeAttachmentViewModel

None.

Exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "StatusCode": 3,
  "Data": [
    {
      "LookupCode": 1,
      "CommunicationTypeCode": 1,
      "CommunicationType": "sample string 2",
      "AttachmentTypeCode": 1,
      "AttachmentType": "sample string 3",
      "IsRequired": true,
      "IsSelected": true
    },
    {
      "LookupCode": 1,
      "CommunicationTypeCode": 1,
      "CommunicationType": "sample string 2",
      "AttachmentTypeCode": 1,
      "AttachmentType": "sample string 3",
      "IsRequired": true,
      "IsSelected": true
    }
  ],
  "Exception": "sample string 4"
}

application/xml, text/xml

Sample:
<ServiceResponseOfArrayOfCommunicationTypeAttachmentViewModel_SpPN8l3_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2G.Services.ServiceHelper">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/B2G.Models.AdminModel.MasterModel">
    <d2p1:CommunicationTypeAttachmentViewModel>
      <d2p1:AttachmentType>sample string 3</d2p1:AttachmentType>
      <d2p1:AttachmentTypeCode>1</d2p1:AttachmentTypeCode>
      <d2p1:CommunicationType>sample string 2</d2p1:CommunicationType>
      <d2p1:CommunicationTypeCode>1</d2p1:CommunicationTypeCode>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:LookupCode>1</d2p1:LookupCode>
    </d2p1:CommunicationTypeAttachmentViewModel>
    <d2p1:CommunicationTypeAttachmentViewModel>
      <d2p1:AttachmentType>sample string 3</d2p1:AttachmentType>
      <d2p1:AttachmentTypeCode>1</d2p1:AttachmentTypeCode>
      <d2p1:CommunicationType>sample string 2</d2p1:CommunicationType>
      <d2p1:CommunicationTypeCode>1</d2p1:CommunicationTypeCode>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:LookupCode>1</d2p1:LookupCode>
    </d2p1:CommunicationTypeAttachmentViewModel>
  </Data>
  <Exception>sample string 4</Exception>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <StatusCode>3</StatusCode>
</ServiceResponseOfArrayOfCommunicationTypeAttachmentViewModel_SpPN8l3_P>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsSuccess"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="StatusCode"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].LookupCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].CommunicationTypeCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].CommunicationType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].AttachmentTypeCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].AttachmentType"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].IsRequired"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[0].IsSelected"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].LookupCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].CommunicationTypeCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].CommunicationType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].AttachmentTypeCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].AttachmentType"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].IsRequired"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data[1].IsSelected"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Exception"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e--