2017-04-19 14 views
-1

APIを働いていない:http://115.249.4.198:8288/Services/Common/prospectService.svc/IosAddLead休憩API POSTリクエストは、MacとUbuntuのための郵便配達での作業が、Windowsでのみ

リクエストボディ:私はこの要求をのみ、ポストマンで働いている理由を知りたい

{ 
    "baseEntity":{ 
     "BaseDBName":"BuddyCRMDB_001", 
     "BaseSubscriptionID":"Buddy_001", 
     "CustomEditId":0, 
     "BaseUserID":1 
    }, 
    "CustomerEntity":{ 
     "tradingFields":[ 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Account Profile", 
       "FieldNameMaster":"AccountProfile", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":19, 
       "Value":1 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Contact Frequency", 
       "FieldNameMaster":"ContactFrequency", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":22, 
       "Value":3 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Lead Source", 
       "FieldNameMaster":"LeadSource", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":21, 
       "Value":1 
      }, 
      { 
       "FieldDataType":"Date", 
       "IsMandatory":false, 
       "FieldName":"trade date", 
       "FieldNameMaster":"trade date", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":4264, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Lead Status", 
       "FieldNameMaster":"LeadStatus", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":48, 
       "Value":3 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Campaign11", 
       "FieldNameMaster":"CampaignID", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":44, 
       "Value":5 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Other Supplier", 
       "FieldNameMaster":"OtherSupplier", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":27, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"DropDown", 
       "IsMandatory":false, 
       "FieldName":"BudgetYear StartDate", 
       "FieldNameMaster":"BudgetYearStartDate", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":24, 
       "Value":0 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":false, 
       "FieldName":"Industry", 
       "FieldNameMaster":"Industry", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":28, 
       "Value":0 
      }, 
      { 
       "FieldDataType":"Numeric", 
       "IsMandatory":false, 
       "FieldName":"MX System", 
       "FieldNameMaster":"AnnualRevenue", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":29, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Numeric", 
       "IsMandatory":false, 
       "FieldName":"Credit Terms", 
       "FieldNameMaster":"CreditTerms", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":32, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Numeric", 
       "IsMandatory":false, 
       "FieldName":"Credit Limit", 
       "FieldNameMaster":"CreditLimit", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":33, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"DropDown", 
       "IsMandatory":false, 
       "FieldName":"Usual Spend Date", 
       "FieldNameMaster":"UsualSpendDate", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":25, 
       "Value":0 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":false, 
       "FieldName":"trade drop", 
       "FieldNameMaster":"trade drop", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":3263, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Numeric", 
       "IsMandatory":false, 
       "FieldName":"trade numeric", 
       "FieldNameMaster":"trade numeric", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":4265, 
       "Value":"" 
      } 
     ], 
     "RecordId":0, 
     "masterFields":[ 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":true, 
       "FieldName":"Company name", 
       "FieldNameMaster":"CompanyName", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":4, 
       "Value":"test new " 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Range", 
       "FieldNameMaster":"Range", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":1235, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"lead drop", 
       "FieldNameMaster":"lead drop", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":3259, 
       "Value":"Three" 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Owner", 
       "FieldNameMaster":"OwnerID", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":6, 
       "Value":1 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Website", 
       "FieldNameMaster":"Website", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":8, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Twitter", 
       "FieldNameMaster":"Twitter", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":9, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Facebook", 
       "FieldNameMaster":"Facebook", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":10, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Building", 
       "FieldNameMaster":"Building", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":11, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Street", 
       "FieldNameMaster":"Street", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":12, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"City", 
       "FieldNameMaster":"City", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":13, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"ZipCode", 
       "FieldNameMaster":"ZipCode", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":36, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"State", 
       "FieldNameMaster":"State", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":34, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"DropDown", 
       "IsMandatory":false, 
       "FieldName":"Country", 
       "FieldNameMaster":"CountryID", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":35, 
       "Value":0 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Phone", 
       "FieldNameMaster":"Phone", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":37, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Date", 
       "IsMandatory":false, 
       "FieldName":"lead date", 
       "FieldNameMaster":"lead date", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":3260, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Lead text", 
       "FieldNameMaster":"Lead text", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":3258, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Numeric", 
       "IsMandatory":false, 
       "FieldName":"lead numeric", 
       "FieldNameMaster":"lead numeric", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":3261, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":false, 
       "FieldName":"Testdroppp", 
       "FieldNameMaster":"Testdroppp", 
       "IsVisible":true, 
       "IsExisting":false, 
       "ID":4273, 
       "Value":"" 
      } 
     ], 
     "BasicContactList":[ 
      { 
       "FieldDataType":"Dropdown", 
       "IsMandatory":true, 
       "FieldName":"Title", 
       "FieldNameMaster":"Title", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":14, 
       "Value":3 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":true, 
       "FieldName":"First Name", 
       "FieldNameMaster":"FirstName", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":15, 
       "Value":"asdfasd" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":true, 
       "FieldName":"Last Name", 
       "FieldNameMaster":"LastName", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":16, 
       "Value":"asdasdasd" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Job Title", 
       "FieldNameMaster":"JobTitle", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":17, 
       "Value":"" 
      }, 
      { 
       "FieldDataType":"Text", 
       "IsMandatory":false, 
       "FieldName":"Email", 
       "FieldNameMaster":"Email", 
       "IsVisible":true, 
       "IsExisting":true, 
       "ID":18, 
       "Value":"" 
      } 
     ] 
    }, 
    "completeAddress":"" 
} 

Windowsの場合すべてのヘッダーと設定は同じです。すべてのマシンのPostmanのバージョン番号は同じです。

+0

Windowsとubuntuの両方でどのような応答コードを取得しますか? – akinmail

+0

メッセージのように:http://115.249.4.198:8288/Services/Common/prospectService.svc/IosAddLeadに接続する際にエラーが発生しました。または、タイムアウトのような状況を言うことができます。 –

+0

そしてウィンドウズで私は正しいjson応答を得ています。 –

答えて

0

あなたはubuntuでタイムアウトエラーが発生したと言われて以来。実際にubuntuマシン上のインターネットに接続できることを確認してください。これを試して。

ping -c 10 somesite.net 

ファイアウォールの背後にいますか? ubuntuシステムにプロキシを設定する必要がありますか?あなたのWindowsシステムのプロキシ設定とあなたのubuntuシステムを比較してください。

+0

いいえこれは当てはまりません –

+0

あなたは、郵便配達員の応答ボックスでhttpエラーステータスを確認できます。それはubuntuで504ですか? – akinmail

0

はい、ファイアウォール設定のためだと思います。非常に奇妙です。 ありがとうすべてがうまくいきました。

関連する問題