2016-11-24 5 views
0

이제 softlayer API에 대한 프로젝트를 만들고 있는데, softlayer API로 자식 계정을 만들지 않겠습니다. 그런 다음 하위 계정을 softlayer API로 주요 계정과 연결합니다. 그리고 aoftlayer api로 자식 계정을 파괴하십시오.Softlayer API : 계정 연결?

그래서 세 가지 질문이 수행된다

  • 가 어떻게 SOFTLAYER API를하여 SOFTLAYER 계정을 만들 수 있습니다
      ?
    1. 하위 계정을 softlayer api의 주요 계정과 어떻게 연결할 수 있습니까?
    2. 어떻게 softlayer api로 하위 계정을 삭제할 수 있습니까?

    안부 ~

  • 답변

    0

    SoftLayer_Brand 서비스는 새로운 계정을 만드는 데 필요한 하나입니다. 새 계정을 성공적으로 만들려면 브랜딩 사용을위한 계정 인 BAP 계정이 필요합니다. 계정이없는 경우 영업 부서에 문의하여 계정을 요청하십시오.

    https://$username:[email protected]/rest/v3/SoftLayer_Brand/createObject.json 
    
    Method: POST 
    Body: 
    { 
    "parameters": [ 
        { 
         "longName": "Company Long Name02", 
         "name": "Company Name02", 
         "keyName": "KEY_NAME_Marce", 
         "account": { 
         "address1": "4444 Alpha Rd", 
         "city": "Dallas", 
         "companyName": "companyname02", 
         "country": "US", 
         "email": "[email protected]", 
         "firstName":"firstname", 
         "lastName": "lastname", 
         "officePhone": "281.714.3333", 
         "postalCode": "75244-4608", 
         "state": "TX" 
         } 
        } 
        ] 
    } 
    

    참고 :

    https://$username:[email protected]/rest/v3/SoftLayer_Brand/$brandId/createCustomerAccount.json 
    
    Method: POST 
    Body: 
    { 
        "parameters": [ 
        { 
         "brandId": 2, 
         "companyName": "test-571-companyname", 
         "firstName": "test-571-firstname", 
         "lastName": "test-571-lastname", 
         "address1": "4444 Alpha Rd", 
         "postalCode": "75244-4608", 
         "city": "Dallas", 
         "state": "TX", 
         "country": "US", 
         "officePhone": "281.714.3333", 
         "email": "[email protected]", 
         "lateFeeProtectionFlag": true, 
         "claimedTaxExemptTxFlag": false, 
         "allowedPptpVpnQuantity": 1, 
         "isReseller": 0, 
         "accountStatusId": 1001 
        } 
        ] 
    } 
    

    당신은 REST를 사용하여이 방법으로 서브 브랜드를 만들 수 있습니다

    당신은 REST를 사용하여이 방법으로 브랜드 계정을 만들 수있는 자식 계정을 연결하는 방법에 대해서 주요한 계좌로 아이 브랜드를 만든 다음 그 아이 브랜드에 대한 계좌를 만드는 것이 성취 될 것입니다.

    또한, 당신은 자세한 내용은 다음 링크를 읽는 것이 좋습니다 : http://sldn.softlayer.com/reference/services/SoftLayer_Brand http://sldn.softlayer.com/reference/services/SoftLayer_Account

    +0

    가있어. 고마워 ~ –