Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

voice_application_sid missing in Clients JSON response #2653

Closed
ammendonca opened this issue Nov 22, 2017 · 1 comment
Closed

voice_application_sid missing in Clients JSON response #2653

ammendonca opened this issue Nov 22, 2017 · 1 comment

Comments

@ammendonca
Copy link
Contributor

When querying a client which has an application associated with it, the voice_application_sid is missing from the JSON response, while it shows when using the XML version.

XML

<RestcommResponse>
  <Client>
    <Sid>CL1271d8ce23054588a14c59459910a36b</Sid>
    <DateCreated>Fri, 3 Nov 2017 23:22:36 +0000</DateCreated>
    <DateUpdated>Fri, 3 Nov 2017 23:22:36 +0000</DateUpdated>
    <AccountSid>ACae6e420f425248d6a26948c17a9e2acf</AccountSid>
    <ApiVersion>2012-04-24</ApiVersion>
    <FriendlyName>xxx</FriendlyName>
    <Login>xxx</Login>
    <Password>xxx</Password>
    <Status>1</Status>
    <VoiceMethod>POST</VoiceMethod>
    <VoiceFallbackMethod>POST</VoiceFallbackMethod>
    <VoiceApplicationSid>AP81cf45088cba4abcac1261385916d582</VoiceApplicationSid>
    <Uri>/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Clients/CL1271d8ce23054588a14c59459910a36b</Uri>
  </Client>
</RestcommResponse>

JSON

{
  "sid": "CL1271d8ce23054588a14c59459910a36b",
  "date_created": "Fri, 3 Nov 2017 23:22:36 +0000",
  "date_updated": "Fri, 3 Nov 2017 23:22:36 +0000",
  "account_sid": "ACae6e420f425248d6a26948c17a9e2acf",
  "api_version": "2012-04-24",
  "friendly_name": "xxx",
  "login": "xxx",
  "password": "xxx",
  "status": "1",
  "voice_method": "POST",
  "voice_fallback_method": "POST",
  "uri": "/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Clients/CL1271d8ce23054588a14c59459910a36b.json"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants