swagger.json 357 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "produces": [
  358. "application/json"
  359. ],
  360. "tags": [
  361. "通用服务"
  362. ],
  363. "summary": "获取所有枚举信息",
  364. "responses": {
  365. "200": {
  366. "description": "OK",
  367. "schema": {
  368. "$ref": "#/definitions/models.Enumdicitem"
  369. }
  370. },
  371. "500": {
  372. "description": "Internal Server Error",
  373. "schema": {
  374. "$ref": "#/definitions/app.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/Common/NoticeReaded": {
  381. "post": {
  382. "security": [
  383. {
  384. "ApiKeyAuth": []
  385. }
  386. ],
  387. "produces": [
  388. "application/json"
  389. ],
  390. "tags": [
  391. "通用服务"
  392. ],
  393. "summary": "通知公告设置已读请求",
  394. "parameters": [
  395. {
  396. "type": "integer",
  397. "description": "登录账号",
  398. "name": "loginID",
  399. "in": "query",
  400. "required": true
  401. },
  402. {
  403. "type": "integer",
  404. "description": "通知公告ID",
  405. "name": "noticeID",
  406. "in": "query",
  407. "required": true
  408. }
  409. ],
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/app.Response"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/QueryImageConfigs": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "查询轮播图配置信息",
  435. "parameters": [
  436. {
  437. "type": "integer",
  438. "description": "类型 - 1:App首页轮播 2:我的",
  439. "name": "imageType",
  440. "in": "query"
  441. }
  442. ],
  443. "responses": {
  444. "200": {
  445. "description": "OK",
  446. "schema": {
  447. "$ref": "#/definitions/models.Szdz2imageconfig"
  448. }
  449. },
  450. "500": {
  451. "description": "Internal Server Error",
  452. "schema": {
  453. "$ref": "#/definitions/app.Response"
  454. }
  455. }
  456. }
  457. }
  458. },
  459. "/Common/QueryNotice": {
  460. "get": {
  461. "security": [
  462. {
  463. "ApiKeyAuth": []
  464. }
  465. ],
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "通知公告系统消息查询",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "页码",
  477. "name": "page",
  478. "in": "query"
  479. },
  480. {
  481. "type": "integer",
  482. "description": "每页条数",
  483. "name": "pagesize",
  484. "in": "query"
  485. },
  486. {
  487. "type": "integer",
  488. "description": "登录账号",
  489. "name": "loginID",
  490. "in": "query",
  491. "required": true
  492. },
  493. {
  494. "type": "integer",
  495. "description": "消息类型 - 1:公告通知 2:系统消息",
  496. "name": "msgType",
  497. "in": "query"
  498. },
  499. {
  500. "type": "boolean",
  501. "description": "是否只获取未读信息",
  502. "name": "onlyUnRead",
  503. "in": "query"
  504. }
  505. ],
  506. "responses": {
  507. "200": {
  508. "description": "OK",
  509. "schema": {
  510. "$ref": "#/definitions/common.QueryNoticeRsp"
  511. }
  512. },
  513. "500": {
  514. "description": "Internal Server Error",
  515. "schema": {
  516. "$ref": "#/definitions/app.Response"
  517. }
  518. }
  519. }
  520. }
  521. },
  522. "/Common/QueryProvincesAndCities": {
  523. "get": {
  524. "produces": [
  525. "application/json"
  526. ],
  527. "tags": [
  528. "通用服务"
  529. ],
  530. "summary": "查询省市信息(不包括区)",
  531. "parameters": [
  532. {
  533. "type": "integer",
  534. "description": "省ID",
  535. "name": "provinceID",
  536. "in": "query"
  537. }
  538. ],
  539. "responses": {
  540. "200": {
  541. "description": "OK",
  542. "schema": {
  543. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  544. }
  545. },
  546. "500": {
  547. "description": "Internal Server Error",
  548. "schema": {
  549. "$ref": "#/definitions/app.Response"
  550. }
  551. }
  552. }
  553. }
  554. },
  555. "/Common/QueryTableDefine": {
  556. "get": {
  557. "produces": [
  558. "application/json"
  559. ],
  560. "tags": [
  561. "通用服务"
  562. ],
  563. "summary": "查询交易端列表头信息",
  564. "parameters": [
  565. {
  566. "type": "string",
  567. "description": "表key",
  568. "name": "TableKey",
  569. "in": "query"
  570. }
  571. ],
  572. "responses": {
  573. "200": {
  574. "description": "OK",
  575. "schema": {
  576. "$ref": "#/definitions/common.QueryTableDefineRsp"
  577. }
  578. },
  579. "500": {
  580. "description": "Internal Server Error",
  581. "schema": {
  582. "$ref": "#/definitions/app.Response"
  583. }
  584. }
  585. }
  586. }
  587. },
  588. "/Common/QueryTraderMenu": {
  589. "get": {
  590. "produces": [
  591. "application/json"
  592. ],
  593. "tags": [
  594. "通用服务"
  595. ],
  596. "summary": "查询交易端菜单",
  597. "parameters": [
  598. {
  599. "type": "integer",
  600. "description": "登录账号",
  601. "name": "loginid",
  602. "in": "query",
  603. "required": true
  604. }
  605. ],
  606. "responses": {
  607. "200": {
  608. "description": "OK",
  609. "schema": {
  610. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  611. }
  612. },
  613. "500": {
  614. "description": "Internal Server Error",
  615. "schema": {
  616. "$ref": "#/definitions/app.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/Delivery/QueryDeliveryRelation": {
  623. "get": {
  624. "security": [
  625. {
  626. "ApiKeyAuth": []
  627. }
  628. ],
  629. "produces": [
  630. "application/json"
  631. ],
  632. "tags": [
  633. "交割服务"
  634. ],
  635. "summary": "查询商品交割关系表",
  636. "parameters": [
  637. {
  638. "type": "integer",
  639. "description": "商品ID",
  640. "name": "goodsid",
  641. "in": "query"
  642. },
  643. {
  644. "type": "integer",
  645. "description": "品种ID",
  646. "name": "deliverygoodsid",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "市场ID",
  652. "name": "marketid",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Erms2/QueryArbitrageStrategy": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "风险管理"
  684. ],
  685. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "账户ID",
  690. "name": "userid",
  691. "in": "query",
  692. "required": true
  693. },
  694. {
  695. "type": "string",
  696. "description": "商品组ID(品种ID)",
  697. "name": "goodsgroupid",
  698. "in": "query"
  699. }
  700. ],
  701. "responses": {
  702. "200": {
  703. "description": "OK",
  704. "schema": {
  705. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  706. }
  707. },
  708. "500": {
  709. "description": "Internal Server Error",
  710. "schema": {
  711. "$ref": "#/definitions/app.Response"
  712. }
  713. }
  714. }
  715. }
  716. },
  717. "/Erms2/QueryInnerTradeDetail": {
  718. "get": {
  719. "security": [
  720. {
  721. "ApiKeyAuth": []
  722. }
  723. ],
  724. "produces": [
  725. "application/json"
  726. ],
  727. "tags": [
  728. "风险管理"
  729. ],
  730. "summary": "查询内部成交单信息",
  731. "parameters": [
  732. {
  733. "type": "integer",
  734. "description": "资金账户",
  735. "name": "accountid",
  736. "in": "query",
  737. "required": true
  738. }
  739. ],
  740. "responses": {
  741. "200": {
  742. "description": "OK",
  743. "schema": {
  744. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  745. }
  746. },
  747. "500": {
  748. "description": "Internal Server Error",
  749. "schema": {
  750. "$ref": "#/definitions/app.Response"
  751. }
  752. }
  753. }
  754. }
  755. },
  756. "/Erms2/QuerySpotContract": {
  757. "get": {
  758. "security": [
  759. {
  760. "ApiKeyAuth": []
  761. }
  762. ],
  763. "produces": [
  764. "application/json"
  765. ],
  766. "tags": [
  767. "风险管理"
  768. ],
  769. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  770. "parameters": [
  771. {
  772. "type": "integer",
  773. "description": "策略申请ID",
  774. "name": "asapplyid",
  775. "in": "query",
  776. "required": true
  777. },
  778. {
  779. "type": "integer",
  780. "description": "现货合同ID",
  781. "name": "spotcontractid",
  782. "in": "query"
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "OK",
  788. "schema": {
  789. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/Erms3/AddErms2ASApply": {
  802. "post": {
  803. "security": [
  804. {
  805. "ApiKeyAuth": []
  806. }
  807. ],
  808. "produces": [
  809. "application/json"
  810. ],
  811. "tags": [
  812. "风险管理v3"
  813. ],
  814. "summary": "新增期现套利业务申请",
  815. "parameters": [
  816. {
  817. "description": "申请参数",
  818. "name": "jsonBody",
  819. "in": "body",
  820. "required": true,
  821. "schema": {
  822. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  823. }
  824. }
  825. ],
  826. "responses": {
  827. "200": {
  828. "description": "OK",
  829. "schema": {
  830. "$ref": "#/definitions/app.Response"
  831. }
  832. },
  833. "500": {
  834. "description": "Internal Server Error",
  835. "schema": {
  836. "$ref": "#/definitions/app.Response"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/Erms3/AddErms2SpotTradeApply": {
  843. "post": {
  844. "security": [
  845. {
  846. "ApiKeyAuth": []
  847. }
  848. ],
  849. "produces": [
  850. "application/json"
  851. ],
  852. "tags": [
  853. "风险管理v3"
  854. ],
  855. "summary": "新增现货贸易业务申请",
  856. "parameters": [
  857. {
  858. "description": "申请参数",
  859. "name": "jsonBody",
  860. "in": "body",
  861. "required": true,
  862. "schema": {
  863. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  864. }
  865. }
  866. ],
  867. "responses": {
  868. "200": {
  869. "description": "OK",
  870. "schema": {
  871. "$ref": "#/definitions/app.Response"
  872. }
  873. },
  874. "500": {
  875. "description": "Internal Server Error",
  876. "schema": {
  877. "$ref": "#/definitions/app.Response"
  878. }
  879. }
  880. }
  881. }
  882. },
  883. "/Erms3/AddSpotContractApply": {
  884. "post": {
  885. "security": [
  886. {
  887. "ApiKeyAuth": []
  888. }
  889. ],
  890. "produces": [
  891. "application/json"
  892. ],
  893. "tags": [
  894. "风险管理v3"
  895. ],
  896. "summary": "新增现货合同申请",
  897. "parameters": [
  898. {
  899. "description": "申请参数",
  900. "name": "jsonBody",
  901. "in": "body",
  902. "required": true,
  903. "schema": {
  904. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  905. }
  906. }
  907. ],
  908. "responses": {
  909. "200": {
  910. "description": "OK",
  911. "schema": {
  912. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  913. }
  914. },
  915. "500": {
  916. "description": "Internal Server Error",
  917. "schema": {
  918. "$ref": "#/definitions/app.Response"
  919. }
  920. }
  921. }
  922. }
  923. },
  924. "/Erms3/AddUserInfoApply": {
  925. "post": {
  926. "security": [
  927. {
  928. "ApiKeyAuth": []
  929. }
  930. ],
  931. "produces": [
  932. "application/json"
  933. ],
  934. "tags": [
  935. "风险管理v3"
  936. ],
  937. "summary": "新增客户申请",
  938. "parameters": [
  939. {
  940. "description": "申请参数",
  941. "name": "jsonBody",
  942. "in": "body",
  943. "required": true,
  944. "schema": {
  945. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  946. }
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Erms3/QueryBusinessInfo": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "风险管理v3"
  977. ],
  978. "summary": "查询业务表单数据",
  979. "parameters": [
  980. {
  981. "type": "string",
  982. "description": "资金账号ID列表,用逗号分隔",
  983. "name": "accountids",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "integer",
  989. "description": "状态,0为未结束 1为已结束",
  990. "name": "status",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Erms3/QueryPendingAuditContract": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "风险管理v3"
  1026. ],
  1027. "summary": "查询待审核合同",
  1028. "parameters": [
  1029. {
  1030. "type": "string",
  1031. "description": "资金账号ID列表,逗号隔开",
  1032. "name": "accountids",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "integer",
  1038. "description": "合同类型 1-采购 -1-销售",
  1039. "name": "contracttype",
  1040. "in": "query",
  1041. "required": true
  1042. },
  1043. {
  1044. "type": "integer",
  1045. "description": "合同模式 1-普通 2-回购",
  1046. "name": "contractmode",
  1047. "in": "query",
  1048. "required": true
  1049. }
  1050. ],
  1051. "responses": {
  1052. "200": {
  1053. "description": "OK",
  1054. "schema": {
  1055. "type": "array",
  1056. "items": {
  1057. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1058. }
  1059. }
  1060. },
  1061. "500": {
  1062. "description": "Internal Server Error",
  1063. "schema": {
  1064. "$ref": "#/definitions/app.Response"
  1065. }
  1066. }
  1067. }
  1068. }
  1069. },
  1070. "/Erms3/QueryPendingBusiness": {
  1071. "get": {
  1072. "security": [
  1073. {
  1074. "ApiKeyAuth": []
  1075. }
  1076. ],
  1077. "produces": [
  1078. "application/json"
  1079. ],
  1080. "tags": [
  1081. "风险管理v3"
  1082. ],
  1083. "summary": "查询待审核基差贸易业务",
  1084. "parameters": [
  1085. {
  1086. "type": "string",
  1087. "description": "资金账号ID列表,逗号隔开",
  1088. "name": "accountids",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Erms3/QuerySpotContractAppleForm": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "风险管理v3"
  1124. ],
  1125. "summary": "查询合同申请表单数据",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "登录账号",
  1130. "name": "loginID",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1140. }
  1141. },
  1142. "500": {
  1143. "description": "Internal Server Error",
  1144. "schema": {
  1145. "$ref": "#/definitions/app.Response"
  1146. }
  1147. }
  1148. }
  1149. }
  1150. },
  1151. "/Erms3/QuerySpotContractDetail": {
  1152. "get": {
  1153. "security": [
  1154. {
  1155. "ApiKeyAuth": []
  1156. }
  1157. ],
  1158. "produces": [
  1159. "application/json"
  1160. ],
  1161. "tags": [
  1162. "风险管理v3"
  1163. ],
  1164. "summary": "查询合同详细信息",
  1165. "parameters": [
  1166. {
  1167. "type": "string",
  1168. "description": "资金账号ID列表,用逗号分隔",
  1169. "name": "accountids",
  1170. "in": "query",
  1171. "required": true
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "合同类型,1为采购合同 -1为销售合同",
  1176. "name": "contracttype",
  1177. "in": "query",
  1178. "required": true
  1179. },
  1180. {
  1181. "type": "integer",
  1182. "description": "合同模式,1为普通合同 2为回购销售合同",
  1183. "name": "contractmode",
  1184. "in": "query",
  1185. "required": true
  1186. },
  1187. {
  1188. "type": "integer",
  1189. "description": "状态,0为履约中 1为已完成",
  1190. "name": "status",
  1191. "in": "query",
  1192. "required": true
  1193. }
  1194. ],
  1195. "responses": {
  1196. "200": {
  1197. "description": "OK",
  1198. "schema": {
  1199. "type": "array",
  1200. "items": {
  1201. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1202. }
  1203. }
  1204. },
  1205. "500": {
  1206. "description": "Internal Server Error",
  1207. "schema": {
  1208. "$ref": "#/definitions/app.Response"
  1209. }
  1210. }
  1211. }
  1212. }
  1213. },
  1214. "/Erms3/QueryUserInfoApplies": {
  1215. "get": {
  1216. "security": [
  1217. {
  1218. "ApiKeyAuth": []
  1219. }
  1220. ],
  1221. "produces": [
  1222. "application/json"
  1223. ],
  1224. "tags": [
  1225. "风险管理v3"
  1226. ],
  1227. "summary": "客户申请信息查询",
  1228. "parameters": [
  1229. {
  1230. "type": "integer",
  1231. "description": "页码",
  1232. "name": "page",
  1233. "in": "query"
  1234. },
  1235. {
  1236. "type": "integer",
  1237. "description": "每页条数",
  1238. "name": "pagesize",
  1239. "in": "query"
  1240. },
  1241. {
  1242. "type": "string",
  1243. "description": "客户名称,支持模糊查询",
  1244. "name": "userName",
  1245. "in": "query"
  1246. }
  1247. ],
  1248. "responses": {
  1249. "200": {
  1250. "description": "OK",
  1251. "schema": {
  1252. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1253. }
  1254. },
  1255. "500": {
  1256. "description": "Internal Server Error",
  1257. "schema": {
  1258. "$ref": "#/definitions/app.Response"
  1259. }
  1260. }
  1261. }
  1262. }
  1263. },
  1264. "/Erms3/QueryUserInfos": {
  1265. "get": {
  1266. "security": [
  1267. {
  1268. "ApiKeyAuth": []
  1269. }
  1270. ],
  1271. "produces": [
  1272. "application/json"
  1273. ],
  1274. "tags": [
  1275. "风险管理v3"
  1276. ],
  1277. "summary": "客户信息查询",
  1278. "parameters": [
  1279. {
  1280. "type": "integer",
  1281. "description": "页码",
  1282. "name": "page",
  1283. "in": "query"
  1284. },
  1285. {
  1286. "type": "integer",
  1287. "description": "每页条数",
  1288. "name": "pagesize",
  1289. "in": "query"
  1290. },
  1291. {
  1292. "type": "string",
  1293. "description": "客户名称,支持模糊查询",
  1294. "name": "userName",
  1295. "in": "query"
  1296. }
  1297. ],
  1298. "responses": {
  1299. "200": {
  1300. "description": "OK",
  1301. "schema": {
  1302. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1303. }
  1304. },
  1305. "500": {
  1306. "description": "Internal Server Error",
  1307. "schema": {
  1308. "$ref": "#/definitions/app.Response"
  1309. }
  1310. }
  1311. }
  1312. }
  1313. },
  1314. "/HSBY/GetHsbyMyCount": {
  1315. "get": {
  1316. "security": [
  1317. {
  1318. "ApiKeyAuth": []
  1319. }
  1320. ],
  1321. "description": "说明: 不包括已完成的数量。",
  1322. "produces": [
  1323. "application/json"
  1324. ],
  1325. "tags": [
  1326. "定制【海商报业】"
  1327. ],
  1328. "summary": "获取我的订单与包裹数量",
  1329. "parameters": [
  1330. {
  1331. "type": "string",
  1332. "description": "资金账户列表,格式:1,2,3",
  1333. "name": "accountIDs",
  1334. "in": "query",
  1335. "required": true
  1336. }
  1337. ],
  1338. "responses": {
  1339. "200": {
  1340. "description": "OK",
  1341. "schema": {
  1342. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1343. }
  1344. },
  1345. "500": {
  1346. "description": "Internal Server Error",
  1347. "schema": {
  1348. "$ref": "#/definitions/app.Response"
  1349. }
  1350. }
  1351. }
  1352. }
  1353. },
  1354. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1355. "get": {
  1356. "security": [
  1357. {
  1358. "ApiKeyAuth": []
  1359. }
  1360. ],
  1361. "produces": [
  1362. "application/json"
  1363. ],
  1364. "tags": [
  1365. "定制【海商报业】"
  1366. ],
  1367. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1368. "parameters": [
  1369. {
  1370. "type": "integer",
  1371. "description": "页码",
  1372. "name": "page",
  1373. "in": "query"
  1374. },
  1375. {
  1376. "type": "integer",
  1377. "description": "每页条数",
  1378. "name": "pagesize",
  1379. "in": "query"
  1380. },
  1381. {
  1382. "type": "string",
  1383. "description": "资金账户列表,格式:1,2,3",
  1384. "name": "accountIDs",
  1385. "in": "query",
  1386. "required": true
  1387. }
  1388. ],
  1389. "responses": {
  1390. "200": {
  1391. "description": "OK",
  1392. "schema": {
  1393. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1394. }
  1395. },
  1396. "500": {
  1397. "description": "Internal Server Error",
  1398. "schema": {
  1399. "$ref": "#/definitions/app.Response"
  1400. }
  1401. }
  1402. }
  1403. }
  1404. },
  1405. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1406. "get": {
  1407. "security": [
  1408. {
  1409. "ApiKeyAuth": []
  1410. }
  1411. ],
  1412. "description": "说明:查询结果已按委托价格和委托时间排序",
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "定制【海商报业】"
  1418. ],
  1419. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1420. "parameters": [
  1421. {
  1422. "type": "integer",
  1423. "description": "商品ID",
  1424. "name": "goodsID",
  1425. "in": "query",
  1426. "required": true
  1427. },
  1428. {
  1429. "type": "string",
  1430. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1431. "name": "accountIDs",
  1432. "in": "query",
  1433. "required": true
  1434. },
  1435. {
  1436. "type": "integer",
  1437. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1438. "name": "buyOrSell",
  1439. "in": "query"
  1440. },
  1441. {
  1442. "type": "number",
  1443. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1444. "name": "price",
  1445. "in": "query"
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "档位,不传则默认为3档",
  1450. "name": "speed",
  1451. "in": "query"
  1452. }
  1453. ],
  1454. "responses": {
  1455. "200": {
  1456. "description": "OK",
  1457. "schema": {
  1458. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1459. }
  1460. },
  1461. "500": {
  1462. "description": "Internal Server Error",
  1463. "schema": {
  1464. "$ref": "#/definitions/app.Response"
  1465. }
  1466. }
  1467. }
  1468. }
  1469. },
  1470. "/HSBY/QueryHsbyListingGoodsDetail": {
  1471. "get": {
  1472. "security": [
  1473. {
  1474. "ApiKeyAuth": []
  1475. }
  1476. ],
  1477. "produces": [
  1478. "application/json"
  1479. ],
  1480. "tags": [
  1481. "定制【海商报业】"
  1482. ],
  1483. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1484. "parameters": [
  1485. {
  1486. "type": "integer",
  1487. "description": "商品ID",
  1488. "name": "goodsID",
  1489. "in": "query",
  1490. "required": true
  1491. },
  1492. {
  1493. "type": "integer",
  1494. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1495. "name": "AccountID",
  1496. "in": "query"
  1497. }
  1498. ],
  1499. "responses": {
  1500. "200": {
  1501. "description": "OK",
  1502. "schema": {
  1503. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1516. "get": {
  1517. "security": [
  1518. {
  1519. "ApiKeyAuth": []
  1520. }
  1521. ],
  1522. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "定制【海商报业】"
  1528. ],
  1529. "summary": "查询“我的订单”信息",
  1530. "parameters": [
  1531. {
  1532. "type": "string",
  1533. "description": "资金账户列表,格式:1,2,3",
  1534. "name": "accountIDs",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1541. "name": "myBuyStatus",
  1542. "in": "query"
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1550. }
  1551. },
  1552. "500": {
  1553. "description": "Internal Server Error",
  1554. "schema": {
  1555. "$ref": "#/definitions/app.Response"
  1556. }
  1557. }
  1558. }
  1559. }
  1560. },
  1561. "/HSBY/QueryHsbyMyGoods": {
  1562. "get": {
  1563. "security": [
  1564. {
  1565. "ApiKeyAuth": []
  1566. }
  1567. ],
  1568. "produces": [
  1569. "application/json"
  1570. ],
  1571. "tags": [
  1572. "定制【海商报业】"
  1573. ],
  1574. "summary": "查询“我的商品”信息",
  1575. "parameters": [
  1576. {
  1577. "type": "string",
  1578. "description": "资金账户列表,格式:1,2,3",
  1579. "name": "accountIDs",
  1580. "in": "query",
  1581. "required": true
  1582. }
  1583. ],
  1584. "responses": {
  1585. "200": {
  1586. "description": "OK",
  1587. "schema": {
  1588. "$ref": "#/definitions/models.HsbyMyGoods"
  1589. }
  1590. },
  1591. "500": {
  1592. "description": "Internal Server Error",
  1593. "schema": {
  1594. "$ref": "#/definitions/app.Response"
  1595. }
  1596. }
  1597. }
  1598. }
  1599. },
  1600. "/HSBY/QueryHsbyMyPackages": {
  1601. "get": {
  1602. "security": [
  1603. {
  1604. "ApiKeyAuth": []
  1605. }
  1606. ],
  1607. "produces": [
  1608. "application/json"
  1609. ],
  1610. "tags": [
  1611. "定制【海商报业】"
  1612. ],
  1613. "summary": "查询我的包裹信息",
  1614. "parameters": [
  1615. {
  1616. "type": "string",
  1617. "description": "资金账户列表,格式:1,2,3",
  1618. "name": "accountIDs",
  1619. "in": "query",
  1620. "required": true
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1625. "name": "takeOrderStatus",
  1626. "in": "query"
  1627. }
  1628. ],
  1629. "responses": {
  1630. "200": {
  1631. "description": "OK",
  1632. "schema": {
  1633. "$ref": "#/definitions/models.HsbyMyPackage"
  1634. }
  1635. },
  1636. "500": {
  1637. "description": "Internal Server Error",
  1638. "schema": {
  1639. "$ref": "#/definitions/app.Response"
  1640. }
  1641. }
  1642. }
  1643. }
  1644. },
  1645. "/HSBY/QueryHsbyPreGoodsDetail": {
  1646. "get": {
  1647. "security": [
  1648. {
  1649. "ApiKeyAuth": []
  1650. }
  1651. ],
  1652. "produces": [
  1653. "application/json"
  1654. ],
  1655. "tags": [
  1656. "定制【海商报业】"
  1657. ],
  1658. "summary": "查询一级市场(产能预售)商品信息详情",
  1659. "parameters": [
  1660. {
  1661. "type": "integer",
  1662. "description": "商品ID",
  1663. "name": "goodsID",
  1664. "in": "query",
  1665. "required": true
  1666. },
  1667. {
  1668. "type": "integer",
  1669. "description": "资金账户,主要用于获取预售商品购买上限",
  1670. "name": "accountID",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1680. }
  1681. },
  1682. "500": {
  1683. "description": "Internal Server Error",
  1684. "schema": {
  1685. "$ref": "#/definitions/app.Response"
  1686. }
  1687. }
  1688. }
  1689. }
  1690. },
  1691. "/HSBY/QueryHsbyPreGoodses": {
  1692. "get": {
  1693. "security": [
  1694. {
  1695. "ApiKeyAuth": []
  1696. }
  1697. ],
  1698. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "定制【海商报业】"
  1704. ],
  1705. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "页码",
  1710. "name": "page",
  1711. "in": "query"
  1712. },
  1713. {
  1714. "type": "integer",
  1715. "description": "每页条数",
  1716. "name": "pagesize",
  1717. "in": "query"
  1718. },
  1719. {
  1720. "type": "string",
  1721. "description": "市场ID列表,格式:1,2,3",
  1722. "name": "marketIDs",
  1723. "in": "query",
  1724. "required": true
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "目的地(省)ID",
  1729. "name": "descProvinceID",
  1730. "in": "query"
  1731. },
  1732. {
  1733. "type": "integer",
  1734. "description": "目的地(市)ID",
  1735. "name": "descCityID",
  1736. "in": "query"
  1737. }
  1738. ],
  1739. "responses": {
  1740. "200": {
  1741. "description": "OK",
  1742. "schema": {
  1743. "$ref": "#/definitions/models.HsbyPreGoods"
  1744. }
  1745. },
  1746. "500": {
  1747. "description": "Internal Server Error",
  1748. "schema": {
  1749. "$ref": "#/definitions/app.Response"
  1750. }
  1751. }
  1752. }
  1753. }
  1754. },
  1755. "/HSBY/QueryHsbySellMyDetails": {
  1756. "get": {
  1757. "security": [
  1758. {
  1759. "ApiKeyAuth": []
  1760. }
  1761. ],
  1762. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1763. "produces": [
  1764. "application/json"
  1765. ],
  1766. "tags": [
  1767. "定制【海商报业】"
  1768. ],
  1769. "summary": "查询\"我的闲置\"单据信息",
  1770. "parameters": [
  1771. {
  1772. "type": "integer",
  1773. "description": "页码",
  1774. "name": "page",
  1775. "in": "query"
  1776. },
  1777. {
  1778. "type": "integer",
  1779. "description": "每页条数",
  1780. "name": "pagesize",
  1781. "in": "query"
  1782. },
  1783. {
  1784. "type": "string",
  1785. "description": "资金账户列表,格式:1,2,3",
  1786. "name": "accountIDs",
  1787. "in": "query",
  1788. "required": true
  1789. },
  1790. {
  1791. "type": "integer",
  1792. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1793. "name": "orderType",
  1794. "in": "query"
  1795. }
  1796. ],
  1797. "responses": {
  1798. "200": {
  1799. "description": "OK",
  1800. "schema": {
  1801. "$ref": "#/definitions/models.HsbySellMyDetail"
  1802. }
  1803. },
  1804. "500": {
  1805. "description": "Internal Server Error",
  1806. "schema": {
  1807. "$ref": "#/definitions/app.Response"
  1808. }
  1809. }
  1810. }
  1811. }
  1812. },
  1813. "/HSBY/QueryHsbyTopGoodses": {
  1814. "get": {
  1815. "security": [
  1816. {
  1817. "ApiKeyAuth": []
  1818. }
  1819. ],
  1820. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1821. "produces": [
  1822. "application/json"
  1823. ],
  1824. "tags": [
  1825. "定制【海商报业】"
  1826. ],
  1827. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1828. "parameters": [
  1829. {
  1830. "type": "integer",
  1831. "description": "页码",
  1832. "name": "page",
  1833. "in": "query"
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "每页条数",
  1838. "name": "pagesize",
  1839. "in": "query"
  1840. },
  1841. {
  1842. "type": "string",
  1843. "description": "市场ID列表,格式:1,2,3",
  1844. "name": "marketIDs",
  1845. "in": "query",
  1846. "required": true
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "目的地(省)ID",
  1851. "name": "descProvinceID",
  1852. "in": "query"
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "目的地(市)ID",
  1857. "name": "descCityID",
  1858. "in": "query"
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "OK",
  1864. "schema": {
  1865. "$ref": "#/definitions/models.HsbyTopGoods"
  1866. }
  1867. },
  1868. "500": {
  1869. "description": "Internal Server Error",
  1870. "schema": {
  1871. "$ref": "#/definitions/app.Response"
  1872. }
  1873. }
  1874. }
  1875. }
  1876. },
  1877. "/HSBY/QueryProvincesAndCities": {
  1878. "get": {
  1879. "security": [
  1880. {
  1881. "ApiKeyAuth": []
  1882. }
  1883. ],
  1884. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1885. "produces": [
  1886. "application/json"
  1887. ],
  1888. "tags": [
  1889. "定制【海商报业】"
  1890. ],
  1891. "summary": "查询省市信息(不包括区)",
  1892. "parameters": [
  1893. {
  1894. "type": "integer",
  1895. "description": "省ID",
  1896. "name": "provinceID",
  1897. "in": "query"
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1905. }
  1906. },
  1907. "500": {
  1908. "description": "Internal Server Error",
  1909. "schema": {
  1910. "$ref": "#/definitions/app.Response"
  1911. }
  1912. }
  1913. }
  1914. }
  1915. },
  1916. "/HSBY/QueryTradePayOrders": {
  1917. "get": {
  1918. "security": [
  1919. {
  1920. "ApiKeyAuth": []
  1921. }
  1922. ],
  1923. "produces": [
  1924. "application/json"
  1925. ],
  1926. "tags": [
  1927. "定制【海商报业】"
  1928. ],
  1929. "summary": "获取待付款信息",
  1930. "parameters": [
  1931. {
  1932. "type": "integer",
  1933. "description": "页码",
  1934. "name": "page",
  1935. "in": "query"
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "每页条数",
  1940. "name": "pagesize",
  1941. "in": "query"
  1942. },
  1943. {
  1944. "type": "string",
  1945. "description": "资金账户列表,格式:1,2,3",
  1946. "name": "accountIDs",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买方委托单号",
  1953. "name": "buyOrderID",
  1954. "in": "query"
  1955. }
  1956. ],
  1957. "responses": {
  1958. "200": {
  1959. "description": "OK",
  1960. "schema": {
  1961. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  1962. }
  1963. },
  1964. "500": {
  1965. "description": "Internal Server Error",
  1966. "schema": {
  1967. "$ref": "#/definitions/app.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/HSBY/SetHsbyMyPackagesStatus": {
  1974. "post": {
  1975. "security": [
  1976. {
  1977. "ApiKeyAuth": []
  1978. }
  1979. ],
  1980. "produces": [
  1981. "application/json"
  1982. ],
  1983. "tags": [
  1984. "定制【海商报业】"
  1985. ],
  1986. "summary": "设置我的包裹已收货状态",
  1987. "parameters": [
  1988. {
  1989. "type": "string",
  1990. "description": "提货单号",
  1991. "name": "takeOrderID",
  1992. "in": "query",
  1993. "required": true
  1994. },
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账号",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. }
  2002. ],
  2003. "responses": {
  2004. "200": {
  2005. "description": "OK",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. },
  2010. "500": {
  2011. "description": "Internal Server Error",
  2012. "schema": {
  2013. "$ref": "#/definitions/app.Response"
  2014. }
  2015. }
  2016. }
  2017. }
  2018. },
  2019. "/Order/QueryHisTradeDetail": {
  2020. "get": {
  2021. "security": [
  2022. {
  2023. "ApiKeyAuth": []
  2024. }
  2025. ],
  2026. "produces": [
  2027. "application/json"
  2028. ],
  2029. "tags": [
  2030. "通用单据"
  2031. ],
  2032. "summary": "历史成交单查询(合约市场)",
  2033. "parameters": [
  2034. {
  2035. "type": "string",
  2036. "description": "资金账户 - 格式:1,2,3",
  2037. "name": "accountID",
  2038. "in": "query",
  2039. "required": true
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "成交单号",
  2044. "name": "tradeID",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "委托单号",
  2050. "name": "orderID",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "string",
  2055. "description": "交易模式 - 格式:1,2,3",
  2056. "name": "tradeMode",
  2057. "in": "query"
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "委托单据类型",
  2062. "name": "buildType",
  2063. "in": "query"
  2064. },
  2065. {
  2066. "type": "string",
  2067. "description": "成交类别 - 格式:1,2,3",
  2068. "name": "tradeType",
  2069. "in": "query"
  2070. },
  2071. {
  2072. "type": "string",
  2073. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2074. "name": "startDate",
  2075. "in": "query"
  2076. },
  2077. {
  2078. "type": "string",
  2079. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2080. "name": "endDate",
  2081. "in": "query"
  2082. }
  2083. ],
  2084. "responses": {
  2085. "200": {
  2086. "description": "OK",
  2087. "schema": {
  2088. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2089. }
  2090. },
  2091. "500": {
  2092. "description": "Internal Server Error",
  2093. "schema": {
  2094. "$ref": "#/definitions/app.Response"
  2095. }
  2096. }
  2097. }
  2098. }
  2099. },
  2100. "/Order/QueryHisTradeOrderDetail": {
  2101. "get": {
  2102. "security": [
  2103. {
  2104. "ApiKeyAuth": []
  2105. }
  2106. ],
  2107. "produces": [
  2108. "application/json"
  2109. ],
  2110. "tags": [
  2111. "通用单据"
  2112. ],
  2113. "summary": "历史委托单查询请求(合约市场)",
  2114. "parameters": [
  2115. {
  2116. "type": "string",
  2117. "description": "资金账户 - 格式:1,2,3",
  2118. "name": "accountID",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "string",
  2124. "description": "交易模式 - 格式:1,2,3",
  2125. "name": "tradeMode",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "string",
  2130. "description": "委托状态 - 格式:1,2,3",
  2131. "name": "orderStatus",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "委托单号",
  2137. "name": "orderID",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "string",
  2142. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2143. "name": "startDate",
  2144. "in": "query"
  2145. },
  2146. {
  2147. "type": "string",
  2148. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2149. "name": "endDate",
  2150. "in": "query"
  2151. }
  2152. ],
  2153. "responses": {
  2154. "200": {
  2155. "description": "OK",
  2156. "schema": {
  2157. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Order/QueryTradeDetail": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "通用单据"
  2181. ],
  2182. "summary": "成交单查询(合约市场)",
  2183. "parameters": [
  2184. {
  2185. "type": "string",
  2186. "description": "资金账户 - 格式:1,2,3",
  2187. "name": "accountID",
  2188. "in": "query",
  2189. "required": true
  2190. },
  2191. {
  2192. "type": "integer",
  2193. "description": "成交单号",
  2194. "name": "tradeID",
  2195. "in": "query"
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "委托单号",
  2200. "name": "orderID",
  2201. "in": "query"
  2202. },
  2203. {
  2204. "type": "string",
  2205. "description": "交易模式 - 格式:1,2,3",
  2206. "name": "tradeMode",
  2207. "in": "query"
  2208. },
  2209. {
  2210. "type": "integer",
  2211. "description": "委托单据类型",
  2212. "name": "buildType",
  2213. "in": "query"
  2214. },
  2215. {
  2216. "type": "string",
  2217. "description": "成交类别 - 格式:1,2,3",
  2218. "name": "tradeType",
  2219. "in": "query"
  2220. }
  2221. ],
  2222. "responses": {
  2223. "200": {
  2224. "description": "OK",
  2225. "schema": {
  2226. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2227. }
  2228. },
  2229. "500": {
  2230. "description": "Internal Server Error",
  2231. "schema": {
  2232. "$ref": "#/definitions/app.Response"
  2233. }
  2234. }
  2235. }
  2236. }
  2237. },
  2238. "/Order/QueryTradeOrderDetail": {
  2239. "get": {
  2240. "security": [
  2241. {
  2242. "ApiKeyAuth": []
  2243. }
  2244. ],
  2245. "produces": [
  2246. "application/json"
  2247. ],
  2248. "tags": [
  2249. "通用单据"
  2250. ],
  2251. "summary": "委托单查询请求(合约市场)",
  2252. "parameters": [
  2253. {
  2254. "type": "string",
  2255. "description": "资金账户 - 格式:1,2,3",
  2256. "name": "accountID",
  2257. "in": "query",
  2258. "required": true
  2259. },
  2260. {
  2261. "type": "string",
  2262. "description": "交易模式 - 格式:1,2,3",
  2263. "name": "tradeMode",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "string",
  2268. "description": "委托状态 - 格式:1,2,3",
  2269. "name": "orderStatus",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "integer",
  2274. "description": "委托单号",
  2275. "name": "orderID",
  2276. "in": "query"
  2277. }
  2278. ],
  2279. "responses": {
  2280. "200": {
  2281. "description": "OK",
  2282. "schema": {
  2283. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2284. }
  2285. },
  2286. "500": {
  2287. "description": "Internal Server Error",
  2288. "schema": {
  2289. "$ref": "#/definitions/app.Response"
  2290. }
  2291. }
  2292. }
  2293. }
  2294. },
  2295. "/Order/QueryTradePosition": {
  2296. "get": {
  2297. "security": [
  2298. {
  2299. "ApiKeyAuth": []
  2300. }
  2301. ],
  2302. "produces": [
  2303. "application/json"
  2304. ],
  2305. "tags": [
  2306. "通用单据"
  2307. ],
  2308. "summary": "持仓汇总查询(合约市场)",
  2309. "parameters": [
  2310. {
  2311. "type": "string",
  2312. "description": "资金账户 - 格式:1,2,3",
  2313. "name": "accountID",
  2314. "in": "query",
  2315. "required": true
  2316. },
  2317. {
  2318. "type": "string",
  2319. "description": "交易模式 - 格式:1,2,3",
  2320. "name": "tradeMode",
  2321. "in": "query"
  2322. }
  2323. ],
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/Quote/QueryHistoryDatas": {
  2341. "get": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "produces": [
  2348. "application/json"
  2349. ],
  2350. "tags": [
  2351. "行情服务"
  2352. ],
  2353. "summary": "查询行情历史数据",
  2354. "parameters": [
  2355. {
  2356. "type": "integer",
  2357. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2358. "name": "cycleType",
  2359. "in": "query",
  2360. "required": true
  2361. },
  2362. {
  2363. "type": "string",
  2364. "description": "商品代码",
  2365. "name": "goodsCode",
  2366. "in": "query",
  2367. "required": true
  2368. },
  2369. {
  2370. "type": "string",
  2371. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2372. "name": "startTime",
  2373. "in": "query"
  2374. },
  2375. {
  2376. "type": "string",
  2377. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2378. "name": "endTime",
  2379. "in": "query"
  2380. },
  2381. {
  2382. "type": "integer",
  2383. "description": "条数",
  2384. "name": "count",
  2385. "in": "query"
  2386. },
  2387. {
  2388. "type": "boolean",
  2389. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2390. "name": "isAsc",
  2391. "in": "query"
  2392. }
  2393. ],
  2394. "responses": {
  2395. "200": {
  2396. "description": "OK",
  2397. "schema": {
  2398. "$ref": "#/definitions/quote.HistoryData"
  2399. }
  2400. },
  2401. "500": {
  2402. "description": "Internal Server Error",
  2403. "schema": {
  2404. "$ref": "#/definitions/app.Response"
  2405. }
  2406. }
  2407. }
  2408. }
  2409. },
  2410. "/Quote/QueryTSData": {
  2411. "get": {
  2412. "produces": [
  2413. "application/json"
  2414. ],
  2415. "tags": [
  2416. "行情服务"
  2417. ],
  2418. "summary": "分时图数据查询",
  2419. "parameters": [
  2420. {
  2421. "type": "string",
  2422. "description": "商品代码",
  2423. "name": "GoodsCode",
  2424. "in": "query",
  2425. "required": true
  2426. }
  2427. ],
  2428. "responses": {
  2429. "200": {
  2430. "description": "OK",
  2431. "schema": {
  2432. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/SZDZ/QueryConvertConfig": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "定制【尚志大宗】"
  2456. ],
  2457. "summary": "查询交易系统转换设置",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2462. "name": "convertType",
  2463. "in": "query"
  2464. },
  2465. {
  2466. "type": "string",
  2467. "description": "外部商品代码[JD\\PD]",
  2468. "name": "outerGoodsCode",
  2469. "in": "query"
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "内部商品ID列表[交易],格式:1,2,3",
  2474. "name": "innerGoodsIDs",
  2475. "in": "query"
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "$ref": "#/definitions/models.Szdz3convertconfig"
  2483. }
  2484. },
  2485. "500": {
  2486. "description": "Internal Server Error",
  2487. "schema": {
  2488. "$ref": "#/definitions/app.Response"
  2489. }
  2490. }
  2491. }
  2492. }
  2493. },
  2494. "/SZDZ/QueryConvertLog": {
  2495. "get": {
  2496. "security": [
  2497. {
  2498. "ApiKeyAuth": []
  2499. }
  2500. ],
  2501. "produces": [
  2502. "application/json"
  2503. ],
  2504. "tags": [
  2505. "定制【尚志大宗】"
  2506. ],
  2507. "summary": "交易系统转换流水查询",
  2508. "parameters": [
  2509. {
  2510. "type": "string",
  2511. "description": "资金账户 - 格式:1,2,3",
  2512. "name": "accountID",
  2513. "in": "query",
  2514. "required": true
  2515. },
  2516. {
  2517. "type": "string",
  2518. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2519. "name": "startDate",
  2520. "in": "query"
  2521. },
  2522. {
  2523. "type": "string",
  2524. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2525. "name": "endDate",
  2526. "in": "query"
  2527. }
  2528. ],
  2529. "responses": {
  2530. "200": {
  2531. "description": "OK",
  2532. "schema": {
  2533. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2534. }
  2535. },
  2536. "500": {
  2537. "description": "Internal Server Error",
  2538. "schema": {
  2539. "$ref": "#/definitions/app.Response"
  2540. }
  2541. }
  2542. }
  2543. }
  2544. },
  2545. "/SZDZ/QueryGoodsPickup": {
  2546. "get": {
  2547. "security": [
  2548. {
  2549. "ApiKeyAuth": []
  2550. }
  2551. ],
  2552. "produces": [
  2553. "application/json"
  2554. ],
  2555. "tags": [
  2556. "定制【尚志大宗】"
  2557. ],
  2558. "summary": "商品提货单查询",
  2559. "parameters": [
  2560. {
  2561. "type": "string",
  2562. "description": "资金账户 - 格式:1,2,3",
  2563. "name": "accountID",
  2564. "in": "query",
  2565. "required": true
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2570. "name": "takeOrderStatus",
  2571. "in": "query"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/SZDZ/QueryRecieptOrder": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2598. "produces": [
  2599. "application/json"
  2600. ],
  2601. "tags": [
  2602. "定制【尚志大宗】"
  2603. ],
  2604. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2605. "parameters": [
  2606. {
  2607. "type": "integer",
  2608. "description": "页码",
  2609. "name": "page",
  2610. "in": "query"
  2611. },
  2612. {
  2613. "type": "integer",
  2614. "description": "每页条数",
  2615. "name": "pagesize",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "integer",
  2620. "description": "商品ID",
  2621. "name": "goodsID",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "string",
  2627. "description": "所属账户名称",
  2628. "name": "accountName",
  2629. "in": "query"
  2630. },
  2631. {
  2632. "type": "integer",
  2633. "description": "市场ID",
  2634. "name": "marketID",
  2635. "in": "query"
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "方向 - 0:买 1:卖",
  2640. "name": "buyorsell",
  2641. "in": "query",
  2642. "required": true
  2643. }
  2644. ],
  2645. "responses": {
  2646. "200": {
  2647. "description": "OK",
  2648. "schema": {
  2649. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2650. }
  2651. },
  2652. "500": {
  2653. "description": "Internal Server Error",
  2654. "schema": {
  2655. "$ref": "#/definitions/app.Response"
  2656. }
  2657. }
  2658. }
  2659. }
  2660. },
  2661. "/SZDZ/QuerySZDZTradePosition": {
  2662. "get": {
  2663. "security": [
  2664. {
  2665. "ApiKeyAuth": []
  2666. }
  2667. ],
  2668. "produces": [
  2669. "application/json"
  2670. ],
  2671. "tags": [
  2672. "定制【尚志大宗】"
  2673. ],
  2674. "summary": "持仓汇总查询(尚志大宗)",
  2675. "parameters": [
  2676. {
  2677. "type": "integer",
  2678. "description": "资金账户",
  2679. "name": "accountID",
  2680. "in": "query",
  2681. "required": true
  2682. }
  2683. ],
  2684. "responses": {
  2685. "200": {
  2686. "description": "OK",
  2687. "schema": {
  2688. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2689. }
  2690. },
  2691. "500": {
  2692. "description": "Internal Server Error",
  2693. "schema": {
  2694. "$ref": "#/definitions/app.Response"
  2695. }
  2696. }
  2697. }
  2698. }
  2699. },
  2700. "/SZDZ/SearchWhite": {
  2701. "get": {
  2702. "security": [
  2703. {
  2704. "ApiKeyAuth": []
  2705. }
  2706. ],
  2707. "produces": [
  2708. "application/json"
  2709. ],
  2710. "tags": [
  2711. "定制【尚志大宗】"
  2712. ],
  2713. "summary": "搜索白名单",
  2714. "parameters": [
  2715. {
  2716. "type": "integer",
  2717. "description": "用户ID",
  2718. "name": "userID",
  2719. "in": "query",
  2720. "required": true
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2728. }
  2729. },
  2730. "500": {
  2731. "description": "Internal Server Error",
  2732. "schema": {
  2733. "$ref": "#/definitions/app.Response"
  2734. }
  2735. }
  2736. }
  2737. }
  2738. },
  2739. "/Search/SearchGoodses": {
  2740. "get": {
  2741. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2742. "produces": [
  2743. "application/json"
  2744. ],
  2745. "tags": [
  2746. "检索服务"
  2747. ],
  2748. "summary": "检索商品信息",
  2749. "parameters": [
  2750. {
  2751. "type": "string",
  2752. "description": "检索内容",
  2753. "name": "content",
  2754. "in": "query",
  2755. "required": true
  2756. }
  2757. ],
  2758. "responses": {
  2759. "200": {
  2760. "description": "OK",
  2761. "schema": {
  2762. "$ref": "#/definitions/models.SearchGoods"
  2763. }
  2764. },
  2765. "500": {
  2766. "description": "Internal Server Error",
  2767. "schema": {
  2768. "$ref": "#/definitions/app.Response"
  2769. }
  2770. }
  2771. }
  2772. }
  2773. },
  2774. "/TaAccount/QueryAmountLog": {
  2775. "get": {
  2776. "security": [
  2777. {
  2778. "ApiKeyAuth": []
  2779. }
  2780. ],
  2781. "produces": [
  2782. "application/json"
  2783. ],
  2784. "tags": [
  2785. "资金账户"
  2786. ],
  2787. "summary": "资金流水查询(当前)",
  2788. "parameters": [
  2789. {
  2790. "type": "integer",
  2791. "description": "页码",
  2792. "name": "page",
  2793. "in": "query"
  2794. },
  2795. {
  2796. "type": "integer",
  2797. "description": "每页条数",
  2798. "name": "pagesize",
  2799. "in": "query"
  2800. },
  2801. {
  2802. "type": "string",
  2803. "description": "资金账户 - 格式:1,2,3",
  2804. "name": "accountID",
  2805. "in": "query",
  2806. "required": true
  2807. },
  2808. {
  2809. "type": "string",
  2810. "description": "资金操作类型 - 格式:1,2,3",
  2811. "name": "OperateType",
  2812. "in": "query"
  2813. }
  2814. ],
  2815. "responses": {
  2816. "200": {
  2817. "description": "OK",
  2818. "schema": {
  2819. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2820. }
  2821. },
  2822. "500": {
  2823. "description": "Internal Server Error",
  2824. "schema": {
  2825. "$ref": "#/definitions/app.Response"
  2826. }
  2827. }
  2828. }
  2829. }
  2830. },
  2831. "/TaAccount/QueryHisAmountLog": {
  2832. "get": {
  2833. "security": [
  2834. {
  2835. "ApiKeyAuth": []
  2836. }
  2837. ],
  2838. "produces": [
  2839. "application/json"
  2840. ],
  2841. "tags": [
  2842. "资金账户"
  2843. ],
  2844. "summary": "资金流水查询(历史)",
  2845. "parameters": [
  2846. {
  2847. "type": "integer",
  2848. "description": "页码",
  2849. "name": "page",
  2850. "in": "query"
  2851. },
  2852. {
  2853. "type": "integer",
  2854. "description": "每页条数",
  2855. "name": "pagesize",
  2856. "in": "query"
  2857. },
  2858. {
  2859. "type": "string",
  2860. "description": "资金账户 - 格式:1,2,3",
  2861. "name": "accountID",
  2862. "in": "query",
  2863. "required": true
  2864. },
  2865. {
  2866. "type": "string",
  2867. "description": "资金操作类型 - 格式:1,2,3",
  2868. "name": "OperateType",
  2869. "in": "query"
  2870. },
  2871. {
  2872. "type": "string",
  2873. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2874. "name": "startDate",
  2875. "in": "query"
  2876. },
  2877. {
  2878. "type": "string",
  2879. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2880. "name": "endDate",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2889. }
  2890. },
  2891. "500": {
  2892. "description": "Internal Server Error",
  2893. "schema": {
  2894. "$ref": "#/definitions/app.Response"
  2895. }
  2896. }
  2897. }
  2898. }
  2899. },
  2900. "/Trade/QueryRecieptOrder": {
  2901. "get": {
  2902. "security": [
  2903. {
  2904. "ApiKeyAuth": []
  2905. }
  2906. ],
  2907. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "通用交易"
  2913. ],
  2914. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "页码",
  2919. "name": "page",
  2920. "in": "query"
  2921. },
  2922. {
  2923. "type": "integer",
  2924. "description": "每页条数",
  2925. "name": "pagesize",
  2926. "in": "query"
  2927. },
  2928. {
  2929. "type": "integer",
  2930. "description": "商品ID",
  2931. "name": "goodsID",
  2932. "in": "query",
  2933. "required": true
  2934. },
  2935. {
  2936. "type": "string",
  2937. "description": "所属账户名称",
  2938. "name": "accountName",
  2939. "in": "query"
  2940. },
  2941. {
  2942. "type": "integer",
  2943. "description": "市场ID",
  2944. "name": "marketID",
  2945. "in": "query"
  2946. },
  2947. {
  2948. "type": "integer",
  2949. "description": "方向 - 0:买 1:卖",
  2950. "name": "buyorsell",
  2951. "in": "query",
  2952. "required": true
  2953. }
  2954. ],
  2955. "responses": {
  2956. "200": {
  2957. "description": "OK",
  2958. "schema": {
  2959. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  2960. }
  2961. },
  2962. "500": {
  2963. "description": "Internal Server Error",
  2964. "schema": {
  2965. "$ref": "#/definitions/app.Response"
  2966. }
  2967. }
  2968. }
  2969. }
  2970. },
  2971. "/User/AddMessageBoard": {
  2972. "post": {
  2973. "security": [
  2974. {
  2975. "ApiKeyAuth": []
  2976. }
  2977. ],
  2978. "produces": [
  2979. "application/json"
  2980. ],
  2981. "tags": [
  2982. "用户信息"
  2983. ],
  2984. "summary": "添加用户留言板信息",
  2985. "parameters": [
  2986. {
  2987. "type": "integer",
  2988. "description": "用户ID",
  2989. "name": "userID",
  2990. "in": "query",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "string",
  2995. "description": "留言信息",
  2996. "name": "message",
  2997. "in": "query",
  2998. "required": true
  2999. }
  3000. ],
  3001. "responses": {
  3002. "200": {
  3003. "description": "OK",
  3004. "schema": {
  3005. "$ref": "#/definitions/app.Response"
  3006. }
  3007. },
  3008. "500": {
  3009. "description": "Internal Server Error",
  3010. "schema": {
  3011. "$ref": "#/definitions/app.Response"
  3012. }
  3013. }
  3014. }
  3015. }
  3016. },
  3017. "/User/AddUserFavoriteGoods": {
  3018. "post": {
  3019. "security": [
  3020. {
  3021. "ApiKeyAuth": []
  3022. }
  3023. ],
  3024. "produces": [
  3025. "application/json"
  3026. ],
  3027. "tags": [
  3028. "用户信息"
  3029. ],
  3030. "summary": "添加用户商品收藏信息",
  3031. "parameters": [
  3032. {
  3033. "type": "integer",
  3034. "description": "用户ID",
  3035. "name": "userID",
  3036. "in": "query",
  3037. "required": true
  3038. },
  3039. {
  3040. "type": "integer",
  3041. "description": "商品ID",
  3042. "name": "goodsID",
  3043. "in": "query",
  3044. "required": true
  3045. }
  3046. ],
  3047. "responses": {
  3048. "200": {
  3049. "description": "OK",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. },
  3054. "500": {
  3055. "description": "Internal Server Error",
  3056. "schema": {
  3057. "$ref": "#/definitions/app.Response"
  3058. }
  3059. }
  3060. }
  3061. }
  3062. },
  3063. "/User/GetLoginID": {
  3064. "get": {
  3065. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3066. "produces": [
  3067. "application/json"
  3068. ],
  3069. "tags": [
  3070. "用户信息"
  3071. ],
  3072. "summary": "获取登录ID",
  3073. "parameters": [
  3074. {
  3075. "type": "string",
  3076. "description": "登录代码",
  3077. "name": "username",
  3078. "in": "query",
  3079. "required": true
  3080. }
  3081. ],
  3082. "responses": {
  3083. "200": {
  3084. "description": "OK",
  3085. "schema": {
  3086. "$ref": "#/definitions/app.Response"
  3087. }
  3088. },
  3089. "500": {
  3090. "description": "Internal Server Error",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. }
  3095. }
  3096. }
  3097. },
  3098. "/User/GetUserAccount": {
  3099. "get": {
  3100. "security": [
  3101. {
  3102. "ApiKeyAuth": []
  3103. }
  3104. ],
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "用户信息"
  3110. ],
  3111. "summary": "获取用户账号信息",
  3112. "parameters": [
  3113. {
  3114. "type": "integer",
  3115. "description": "用户ID",
  3116. "name": "userID",
  3117. "in": "query",
  3118. "required": true
  3119. }
  3120. ],
  3121. "responses": {
  3122. "200": {
  3123. "description": "OK",
  3124. "schema": {
  3125. "$ref": "#/definitions/models.Useraccount"
  3126. }
  3127. },
  3128. "500": {
  3129. "description": "Internal Server Error",
  3130. "schema": {
  3131. "$ref": "#/definitions/app.Response"
  3132. }
  3133. }
  3134. }
  3135. }
  3136. },
  3137. "/User/GetUserAuthStatus": {
  3138. "get": {
  3139. "security": [
  3140. {
  3141. "ApiKeyAuth": []
  3142. }
  3143. ],
  3144. "produces": [
  3145. "application/json"
  3146. ],
  3147. "tags": [
  3148. "用户信息"
  3149. ],
  3150. "summary": "获取用户实名认证状态",
  3151. "parameters": [
  3152. {
  3153. "type": "integer",
  3154. "description": "用户ID",
  3155. "name": "userID",
  3156. "in": "query",
  3157. "required": true
  3158. }
  3159. ],
  3160. "responses": {
  3161. "200": {
  3162. "description": "OK",
  3163. "schema": {
  3164. "$ref": "#/definitions/app.Response"
  3165. }
  3166. },
  3167. "500": {
  3168. "description": "Internal Server Error",
  3169. "schema": {
  3170. "$ref": "#/definitions/app.Response"
  3171. }
  3172. }
  3173. }
  3174. }
  3175. },
  3176. "/User/QueryMessageBoard": {
  3177. "get": {
  3178. "security": [
  3179. {
  3180. "ApiKeyAuth": []
  3181. }
  3182. ],
  3183. "produces": [
  3184. "application/json"
  3185. ],
  3186. "tags": [
  3187. "用户信息"
  3188. ],
  3189. "summary": "获取用户留言板信息",
  3190. "parameters": [
  3191. {
  3192. "type": "integer",
  3193. "description": "用户ID",
  3194. "name": "userID",
  3195. "in": "query",
  3196. "required": true
  3197. }
  3198. ],
  3199. "responses": {
  3200. "200": {
  3201. "description": "OK",
  3202. "schema": {
  3203. "$ref": "#/definitions/models.Messageboard"
  3204. }
  3205. },
  3206. "500": {
  3207. "description": "Internal Server Error",
  3208. "schema": {
  3209. "$ref": "#/definitions/app.Response"
  3210. }
  3211. }
  3212. }
  3213. }
  3214. },
  3215. "/User/QueryUserFavoriteGoodses": {
  3216. "get": {
  3217. "security": [
  3218. {
  3219. "ApiKeyAuth": []
  3220. }
  3221. ],
  3222. "produces": [
  3223. "application/json"
  3224. ],
  3225. "tags": [
  3226. "用户信息"
  3227. ],
  3228. "summary": "获取用户商品收藏信息",
  3229. "parameters": [
  3230. {
  3231. "type": "integer",
  3232. "description": "用户ID",
  3233. "name": "userID",
  3234. "in": "query",
  3235. "required": true
  3236. }
  3237. ],
  3238. "responses": {
  3239. "200": {
  3240. "description": "OK",
  3241. "schema": {
  3242. "$ref": "#/definitions/models.Userfavoritegoods"
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/app.Response"
  3249. }
  3250. }
  3251. }
  3252. }
  3253. },
  3254. "/User/QueryUserInfo": {
  3255. "get": {
  3256. "security": [
  3257. {
  3258. "ApiKeyAuth": []
  3259. }
  3260. ],
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "用户信息"
  3266. ],
  3267. "summary": "获取用户信息",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "用户ID",
  3272. "name": "userID",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "$ref": "#/definitions/models.Userinfo"
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/User/QueryUserReferNum": {
  3294. "get": {
  3295. "produces": [
  3296. "application/json"
  3297. ],
  3298. "tags": [
  3299. "用户信息"
  3300. ],
  3301. "summary": "获取用户邀请码",
  3302. "parameters": [
  3303. {
  3304. "type": "integer",
  3305. "description": "用户ID",
  3306. "name": "userID",
  3307. "in": "query",
  3308. "required": true
  3309. }
  3310. ],
  3311. "responses": {
  3312. "200": {
  3313. "description": "OK",
  3314. "schema": {
  3315. "$ref": "#/definitions/app.Response"
  3316. }
  3317. },
  3318. "500": {
  3319. "description": "Internal Server Error",
  3320. "schema": {
  3321. "$ref": "#/definitions/app.Response"
  3322. }
  3323. }
  3324. }
  3325. }
  3326. },
  3327. "/User/RemoveUserFavoriteGoods": {
  3328. "post": {
  3329. "security": [
  3330. {
  3331. "ApiKeyAuth": []
  3332. }
  3333. ],
  3334. "produces": [
  3335. "application/json"
  3336. ],
  3337. "tags": [
  3338. "用户信息"
  3339. ],
  3340. "summary": "移除用户商品收藏信息",
  3341. "parameters": [
  3342. {
  3343. "type": "integer",
  3344. "description": "用户ID",
  3345. "name": "userID",
  3346. "in": "query",
  3347. "required": true
  3348. },
  3349. {
  3350. "type": "integer",
  3351. "description": "商品ID",
  3352. "name": "goodsID",
  3353. "in": "query",
  3354. "required": true
  3355. }
  3356. ],
  3357. "responses": {
  3358. "200": {
  3359. "description": "OK",
  3360. "schema": {
  3361. "$ref": "#/definitions/app.Response"
  3362. }
  3363. },
  3364. "500": {
  3365. "description": "Internal Server Error",
  3366. "schema": {
  3367. "$ref": "#/definitions/app.Response"
  3368. }
  3369. }
  3370. }
  3371. }
  3372. },
  3373. "/WRTrade/GetAllDeliveryGoods": {
  3374. "get": {
  3375. "security": [
  3376. {
  3377. "ApiKeyAuth": []
  3378. },
  3379. {
  3380. "ApiKeyAuth": []
  3381. }
  3382. ],
  3383. "produces": [
  3384. "application/json",
  3385. "application/json"
  3386. ],
  3387. "tags": [
  3388. "仓单贸易",
  3389. "仓单贸易"
  3390. ],
  3391. "summary": "获取带仓单分类的种类信息",
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "$ref": "#/definitions/app.Response"
  3397. }
  3398. },
  3399. "500": {
  3400. "description": "Internal Server Error",
  3401. "schema": {
  3402. "$ref": "#/definitions/app.Response"
  3403. }
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "definitions": {
  3410. "app.Response": {
  3411. "type": "object",
  3412. "properties": {
  3413. "code": {
  3414. "type": "integer"
  3415. },
  3416. "data": {
  3417. "type": "object"
  3418. },
  3419. "msg": {
  3420. "type": "string"
  3421. },
  3422. "page": {
  3423. "description": "页码",
  3424. "type": "integer"
  3425. },
  3426. "pagesize": {
  3427. "description": "每页条数",
  3428. "type": "integer"
  3429. },
  3430. "total": {
  3431. "description": "总条数",
  3432. "type": "integer"
  3433. }
  3434. }
  3435. },
  3436. "common.QueryNoticeRsp": {
  3437. "type": "object",
  3438. "required": [
  3439. "autoid"
  3440. ],
  3441. "properties": {
  3442. "auditoruserid": {
  3443. "description": "审核人",
  3444. "type": "integer"
  3445. },
  3446. "auditremark": {
  3447. "description": "审核备注",
  3448. "type": "string"
  3449. },
  3450. "audittime": {
  3451. "description": "审核日期",
  3452. "type": "string"
  3453. },
  3454. "autoid": {
  3455. "description": "自增ID",
  3456. "type": "integer"
  3457. },
  3458. "content": {
  3459. "description": "内容",
  3460. "type": "string"
  3461. },
  3462. "createtime": {
  3463. "description": "创建时间",
  3464. "type": "string"
  3465. },
  3466. "creatorid": {
  3467. "description": "建仓人",
  3468. "type": "integer"
  3469. },
  3470. "endtime": {
  3471. "description": "结束时间",
  3472. "type": "string"
  3473. },
  3474. "istop": {
  3475. "description": "是否置顶 - 0:不置顶 1:置顶",
  3476. "type": "integer"
  3477. },
  3478. "msgiconurl": {
  3479. "description": "消息图标Url",
  3480. "type": "string"
  3481. },
  3482. "msgtype": {
  3483. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3484. "type": "integer"
  3485. },
  3486. "publisher": {
  3487. "description": "消息发布者",
  3488. "type": "string"
  3489. },
  3490. "readed": {
  3491. "description": "是否已读",
  3492. "type": "boolean"
  3493. },
  3494. "scheduletime": {
  3495. "description": "计划发送时间",
  3496. "type": "string"
  3497. },
  3498. "sendtype": {
  3499. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3500. "type": "integer"
  3501. },
  3502. "sentstatus": {
  3503. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3504. "type": "integer"
  3505. },
  3506. "title": {
  3507. "description": "标题",
  3508. "type": "string"
  3509. },
  3510. "userid": {
  3511. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3512. "type": "integer"
  3513. }
  3514. }
  3515. },
  3516. "common.QueryProvincesAndCitiesRsp": {
  3517. "type": "object",
  3518. "properties": {
  3519. "cities": {
  3520. "description": "市",
  3521. "type": "array",
  3522. "items": {
  3523. "$ref": "#/definitions/models.Division"
  3524. }
  3525. },
  3526. "province": {
  3527. "description": "省",
  3528. "$ref": "#/definitions/models.Division"
  3529. }
  3530. }
  3531. },
  3532. "common.QueryTableDefineRsp": {
  3533. "type": "object",
  3534. "required": [
  3535. "tablekey"
  3536. ],
  3537. "properties": {
  3538. "columns": {
  3539. "description": "列头信息数组",
  3540. "type": "array",
  3541. "items": {
  3542. "$ref": "#/definitions/models.Tablecolumnconfig"
  3543. }
  3544. },
  3545. "remark": {
  3546. "description": "Remark",
  3547. "type": "string"
  3548. },
  3549. "tabelmenu": {
  3550. "description": "列表菜单",
  3551. "type": "string"
  3552. },
  3553. "tablekey": {
  3554. "description": "列表Key",
  3555. "type": "string"
  3556. },
  3557. "tablename": {
  3558. "description": "列表名称",
  3559. "type": "string"
  3560. },
  3561. "tabletype": {
  3562. "description": "列表类型 - 1:管理端 2:终端",
  3563. "type": "integer"
  3564. }
  3565. }
  3566. },
  3567. "common.QueryTraderMenuRsp": {
  3568. "type": "object",
  3569. "properties": {
  3570. "OperationMenu": {
  3571. "description": "功能菜单",
  3572. "type": "array",
  3573. "items": {
  3574. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3575. }
  3576. },
  3577. "QuoteMenu": {
  3578. "description": "报价牌分类菜单",
  3579. "type": "array",
  3580. "items": {
  3581. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3582. }
  3583. }
  3584. }
  3585. },
  3586. "cptrade.Cptradepositioncancel": {
  3587. "type": "object",
  3588. "required": [
  3589. "cancelid"
  3590. ],
  3591. "properties": {
  3592. "accountid": {
  3593. "description": "申请人账户ID",
  3594. "type": "integer"
  3595. },
  3596. "applystatus": {
  3597. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3598. "type": "integer"
  3599. },
  3600. "applytime": {
  3601. "description": "申请时间",
  3602. "type": "string"
  3603. },
  3604. "cancelid": {
  3605. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3606. "type": "integer"
  3607. },
  3608. "cancelqty": {
  3609. "description": "注销数量",
  3610. "type": "integer"
  3611. },
  3612. "createtime": {
  3613. "description": "创建时间",
  3614. "type": "string"
  3615. },
  3616. "creatorid": {
  3617. "description": "创建人ID",
  3618. "type": "integer"
  3619. },
  3620. "creatorname": {
  3621. "description": "创建人",
  3622. "type": "string"
  3623. },
  3624. "goodscode": {
  3625. "description": "订单商品代码",
  3626. "type": "string"
  3627. },
  3628. "goodsid": {
  3629. "description": "商品ID",
  3630. "type": "integer"
  3631. },
  3632. "goodsname": {
  3633. "description": "订单商品名称",
  3634. "type": "string"
  3635. },
  3636. "goodunit": {
  3637. "description": "报价单位",
  3638. "type": "string"
  3639. },
  3640. "handlestatus": {
  3641. "description": "处理状态",
  3642. "type": "integer"
  3643. },
  3644. "marketid": {
  3645. "description": "市场ID",
  3646. "type": "integer"
  3647. },
  3648. "marketname": {
  3649. "description": "市场名称",
  3650. "type": "string"
  3651. },
  3652. "tradedate": {
  3653. "description": "交易日(yyyyMMdd)",
  3654. "type": "string"
  3655. },
  3656. "userid": {
  3657. "description": "申请人ID",
  3658. "type": "integer"
  3659. }
  3660. }
  3661. },
  3662. "cptrade.Cptradepresaleapply": {
  3663. "type": "object",
  3664. "required": [
  3665. "applyid"
  3666. ],
  3667. "properties": {
  3668. "accountid": {
  3669. "description": "申请人账户ID",
  3670. "type": "integer"
  3671. },
  3672. "applyid": {
  3673. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3674. "type": "integer"
  3675. },
  3676. "applyremark": {
  3677. "description": "申请备注",
  3678. "type": "string"
  3679. },
  3680. "applystatus": {
  3681. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3682. "type": "integer"
  3683. },
  3684. "applytime": {
  3685. "description": "申请时间",
  3686. "type": "string"
  3687. },
  3688. "attachmenturl": {
  3689. "description": "附件地址",
  3690. "type": "string"
  3691. },
  3692. "endtime": {
  3693. "description": "预售结束时间",
  3694. "type": "string"
  3695. },
  3696. "goodscode": {
  3697. "description": "商品代码",
  3698. "type": "string"
  3699. },
  3700. "goodsid": {
  3701. "description": "商品ID",
  3702. "type": "integer"
  3703. },
  3704. "goodsname": {
  3705. "description": "商品名称",
  3706. "type": "string"
  3707. },
  3708. "goodunit": {
  3709. "description": "报价单位",
  3710. "type": "string"
  3711. },
  3712. "handlestatus": {
  3713. "description": "处理状态",
  3714. "type": "integer"
  3715. },
  3716. "marketid": {
  3717. "description": "预售市场ID",
  3718. "type": "integer"
  3719. },
  3720. "marketname": {
  3721. "description": "预售市场名称",
  3722. "type": "string"
  3723. },
  3724. "presaleqty": {
  3725. "description": "预售数量",
  3726. "type": "integer"
  3727. },
  3728. "relatedgoodscode": {
  3729. "description": "关联交易合约代码",
  3730. "type": "string"
  3731. },
  3732. "relatedgoodsid": {
  3733. "description": "关联交易合约ID",
  3734. "type": "integer"
  3735. },
  3736. "relatedgoodsname": {
  3737. "description": "关联交易合约名称",
  3738. "type": "string"
  3739. },
  3740. "starttime": {
  3741. "description": "预售开始时间",
  3742. "type": "string"
  3743. },
  3744. "tradedate": {
  3745. "description": "交易日(yyyyMMdd)",
  3746. "type": "string"
  3747. },
  3748. "trademode": {
  3749. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3750. "type": "integer"
  3751. },
  3752. "userid": {
  3753. "description": "申请人ID",
  3754. "type": "integer"
  3755. }
  3756. }
  3757. },
  3758. "cptrade.Cptradeusergoodsdata": {
  3759. "type": "object",
  3760. "required": [
  3761. "accountid",
  3762. "goodsid"
  3763. ],
  3764. "properties": {
  3765. "EnabledQty": {
  3766. "description": "可用量",
  3767. "type": "integer"
  3768. },
  3769. "GoodsCode": {
  3770. "description": "订单商品代码",
  3771. "type": "string"
  3772. },
  3773. "GoodsName": {
  3774. "description": "订单商品名称",
  3775. "type": "string"
  3776. },
  3777. "WRStandardCode": {
  3778. "description": "仓单标准代码",
  3779. "type": "string"
  3780. },
  3781. "WRStandardName": {
  3782. "description": "仓单标准名称",
  3783. "type": "string"
  3784. },
  3785. "accountid": {
  3786. "description": "账户ID",
  3787. "type": "integer"
  3788. },
  3789. "cancelqty": {
  3790. "description": "注销量",
  3791. "type": "integer"
  3792. },
  3793. "curpresaleqty": {
  3794. "description": "当前预售量",
  3795. "type": "integer"
  3796. },
  3797. "deliveryqty": {
  3798. "description": "交割量",
  3799. "type": "integer"
  3800. },
  3801. "freezeamount": {
  3802. "description": "冻结金额",
  3803. "type": "number"
  3804. },
  3805. "goodsid": {
  3806. "description": "商品ID",
  3807. "type": "integer"
  3808. },
  3809. "goodunit": {
  3810. "description": "报价单位",
  3811. "type": "string"
  3812. },
  3813. "hasspotfreeze": {
  3814. "description": "是否有现货冻结 - 0:否 1:有",
  3815. "type": "integer"
  3816. },
  3817. "inqty": {
  3818. "description": "转入量(总数量)",
  3819. "type": "integer"
  3820. },
  3821. "marketid": {
  3822. "description": "市场ID",
  3823. "type": "integer"
  3824. },
  3825. "presaledamount": {
  3826. "description": "已预售总金额",
  3827. "type": "integer"
  3828. },
  3829. "presaledqty": {
  3830. "description": "已预售量",
  3831. "type": "integer"
  3832. },
  3833. "userid": {
  3834. "description": "用户ID",
  3835. "type": "integer"
  3836. },
  3837. "wrstandardid": {
  3838. "description": "仓单标准ID",
  3839. "type": "integer"
  3840. }
  3841. }
  3842. },
  3843. "cptrade.QueryCPTradeMyBidRsp": {
  3844. "type": "object",
  3845. "required": [
  3846. "accountid",
  3847. "goodsid",
  3848. "marketid",
  3849. "orderid",
  3850. "orderqty",
  3851. "ordertime",
  3852. "tradeprice",
  3853. "tradeqty"
  3854. ],
  3855. "properties": {
  3856. "accountid": {
  3857. "description": "账户ID[报价币种]",
  3858. "type": "integer"
  3859. },
  3860. "goodsid": {
  3861. "description": "商品ID",
  3862. "type": "integer"
  3863. },
  3864. "goodunit": {
  3865. "description": "报价单位",
  3866. "type": "string"
  3867. },
  3868. "marketid": {
  3869. "description": "市场ID",
  3870. "type": "integer"
  3871. },
  3872. "orderid": {
  3873. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3874. "type": "integer"
  3875. },
  3876. "orderprice": {
  3877. "description": "委托价格",
  3878. "type": "number"
  3879. },
  3880. "orderqty": {
  3881. "description": "委托数量",
  3882. "type": "integer"
  3883. },
  3884. "ordertime": {
  3885. "description": "委托时间",
  3886. "type": "string"
  3887. },
  3888. "ordertotalprice": {
  3889. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3890. "type": "number"
  3891. },
  3892. "ordertotalweight": {
  3893. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3894. "type": "integer"
  3895. },
  3896. "totaltotalprice": {
  3897. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3898. "type": "number"
  3899. },
  3900. "tradeprice": {
  3901. "description": "成交价格",
  3902. "type": "number"
  3903. },
  3904. "tradeqty": {
  3905. "description": "成交数量",
  3906. "type": "integer"
  3907. }
  3908. }
  3909. },
  3910. "cptrade.QueryCPTradeOrderDetailRsq": {
  3911. "type": "object",
  3912. "required": [
  3913. "accountid",
  3914. "buildtype",
  3915. "buyorsell",
  3916. "goodsid",
  3917. "marketid",
  3918. "memberuserid",
  3919. "operatetype",
  3920. "orderqty",
  3921. "ordertime",
  3922. "pricemode",
  3923. "strorderid",
  3924. "tradedate",
  3925. "validtype"
  3926. ],
  3927. "properties": {
  3928. "accountid": {
  3929. "description": "账户ID[报价币种]",
  3930. "type": "integer"
  3931. },
  3932. "buildtype": {
  3933. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3934. "type": "integer"
  3935. },
  3936. "buyorsell": {
  3937. "description": "买卖 - 0:买 1:卖",
  3938. "type": "integer"
  3939. },
  3940. "cancelorderid": {
  3941. "description": "撤单单号(撤单时填写)",
  3942. "type": "integer"
  3943. },
  3944. "cancelqty": {
  3945. "description": "撤单数量",
  3946. "type": "integer"
  3947. },
  3948. "clientordertime": {
  3949. "description": "客户端委托时间",
  3950. "type": "string"
  3951. },
  3952. "clientticket": {
  3953. "description": "客户端流水号",
  3954. "type": "string"
  3955. },
  3956. "clienttype": {
  3957. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3958. "type": "integer"
  3959. },
  3960. "closeexchagechargevalue": {
  3961. "description": "平仓交易所手续费设置值",
  3962. "type": "number"
  3963. },
  3964. "closefeealgorithm": {
  3965. "description": "平仓手续费收取方式 1:比率 2:固定",
  3966. "type": "integer"
  3967. },
  3968. "closefreezecharge": {
  3969. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3970. "type": "number"
  3971. },
  3972. "closememberchargevalue": {
  3973. "description": "平仓会员手续费设置值",
  3974. "type": "number"
  3975. },
  3976. "closeqty": {
  3977. "description": "平仓数量(先建后平操作 需要记录)",
  3978. "type": "integer"
  3979. },
  3980. "closetradeqty": {
  3981. "description": "平仓成交数量(先建后平操作,需要记录)",
  3982. "type": "integer"
  3983. },
  3984. "closeunfreezecharge": {
  3985. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3986. "type": "number"
  3987. },
  3988. "delistingtype": {
  3989. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3990. "type": "integer"
  3991. },
  3992. "freezecharge": {
  3993. "description": "冻结手续费",
  3994. "type": "number"
  3995. },
  3996. "freezemargin": {
  3997. "description": "冻结保证金(冻结交易金额)",
  3998. "type": "number"
  3999. },
  4000. "gcaccountid": {
  4001. "description": "账户ID[合约币种]",
  4002. "type": "integer"
  4003. },
  4004. "goodsid": {
  4005. "description": "商品ID",
  4006. "type": "integer"
  4007. },
  4008. "isconfirmexercise": {
  4009. "description": "是否确认行权- 0:否 1:是",
  4010. "type": "integer"
  4011. },
  4012. "ispreexercise": {
  4013. "description": "是否预申报- 0:否 1:是",
  4014. "type": "integer"
  4015. },
  4016. "listingselecttype": {
  4017. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4018. "type": "integer"
  4019. },
  4020. "marginalgorithm": {
  4021. "description": "保证金收取方式 1:比率 2:固定",
  4022. "type": "integer"
  4023. },
  4024. "marginvalue": {
  4025. "description": "即市保证金设置值",
  4026. "type": "number"
  4027. },
  4028. "marketid": {
  4029. "description": "市场ID",
  4030. "type": "integer"
  4031. },
  4032. "marketmaxsub": {
  4033. "description": "市价最大偏移范围",
  4034. "type": "number"
  4035. },
  4036. "memberuserid": {
  4037. "description": "所属会员UserID",
  4038. "type": "integer"
  4039. },
  4040. "openexchagechargevalue": {
  4041. "description": "建仓交易所手续费设置值",
  4042. "type": "number"
  4043. },
  4044. "openfeealgorithm": {
  4045. "description": "建仓手续费收取方式 1:比率 2:固定",
  4046. "type": "integer"
  4047. },
  4048. "openfreezecharge": {
  4049. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4050. "type": "number"
  4051. },
  4052. "openmemberchargevalue": {
  4053. "description": "建仓会员手续费设置值",
  4054. "type": "number"
  4055. },
  4056. "openqty": {
  4057. "description": "开仓数量(先建后平操作,需要记录)",
  4058. "type": "integer"
  4059. },
  4060. "opentradeqty": {
  4061. "description": "开仓成交数量(先建后平操作,需要记录)",
  4062. "type": "integer"
  4063. },
  4064. "openunfreezecharge": {
  4065. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4066. "type": "number"
  4067. },
  4068. "operatetype": {
  4069. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4070. "type": "integer"
  4071. },
  4072. "operatorid": {
  4073. "description": "登录账号(LoginID)",
  4074. "type": "integer"
  4075. },
  4076. "optiontype": {
  4077. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4078. "type": "integer"
  4079. },
  4080. "orderprice": {
  4081. "description": "委托价格",
  4082. "type": "number"
  4083. },
  4084. "orderqty": {
  4085. "description": "委托数量",
  4086. "type": "integer"
  4087. },
  4088. "ordersrc": {
  4089. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4090. "type": "integer"
  4091. },
  4092. "orderstatus": {
  4093. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4094. "type": "integer"
  4095. },
  4096. "ordertime": {
  4097. "description": "委托时间",
  4098. "type": "string"
  4099. },
  4100. "preexerciseprice": {
  4101. "description": "预申报价格",
  4102. "type": "number"
  4103. },
  4104. "premium": {
  4105. "description": "权利金",
  4106. "type": "number"
  4107. },
  4108. "preorderid": {
  4109. "description": "关联预埋单号(止盈止损单时填写)",
  4110. "type": "integer"
  4111. },
  4112. "pricemode": {
  4113. "description": "取价方式 - 1:市价 2: 限价",
  4114. "type": "integer"
  4115. },
  4116. "quoteid": {
  4117. "description": "报价单ID",
  4118. "type": "integer"
  4119. },
  4120. "relatedid": {
  4121. "description": "关联单号(交割单)",
  4122. "type": "integer"
  4123. },
  4124. "retcode": {
  4125. "description": "错误代码",
  4126. "type": "integer"
  4127. },
  4128. "sessionid": {
  4129. "description": "会话ID",
  4130. "type": "integer"
  4131. },
  4132. "strorderid": {
  4133. "description": "委托单号",
  4134. "type": "string"
  4135. },
  4136. "tradedate": {
  4137. "description": "交易日(yyyyMMdd)",
  4138. "type": "string"
  4139. },
  4140. "tradeproperty": {
  4141. "description": "交易属性",
  4142. "type": "integer"
  4143. },
  4144. "tradeqty": {
  4145. "description": "成交数量",
  4146. "type": "integer"
  4147. },
  4148. "unfreezecharge": {
  4149. "description": "解冻手续费",
  4150. "type": "number"
  4151. },
  4152. "unfreezemargin": {
  4153. "description": "解冻保证金",
  4154. "type": "number"
  4155. },
  4156. "updatetime": {
  4157. "description": "更新时间",
  4158. "type": "string"
  4159. },
  4160. "uuid": {
  4161. "description": "发起端唯一id",
  4162. "type": "string"
  4163. },
  4164. "validtime": {
  4165. "description": "有效期限",
  4166. "type": "string"
  4167. },
  4168. "validtype": {
  4169. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4170. "type": "integer"
  4171. },
  4172. "volumetype": {
  4173. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4174. "type": "integer"
  4175. }
  4176. }
  4177. },
  4178. "cptrade.QueryMyCPTradeGoodsRsp": {
  4179. "type": "object",
  4180. "required": [
  4181. "goodscode",
  4182. "goodsid",
  4183. "goodsname",
  4184. "marketid",
  4185. "relatedgoodscode",
  4186. "relatedgoodsname"
  4187. ],
  4188. "properties": {
  4189. "accountid": {
  4190. "description": "卖方账户ID",
  4191. "type": "integer"
  4192. },
  4193. "agreeunit": {
  4194. "description": "合约单位",
  4195. "type": "number"
  4196. },
  4197. "applyid": {
  4198. "description": "关联申请ID",
  4199. "type": "integer"
  4200. },
  4201. "attachmenturl": {
  4202. "description": "附件地址",
  4203. "type": "string"
  4204. },
  4205. "createtime": {
  4206. "description": "创建时间",
  4207. "type": "string"
  4208. },
  4209. "currencyid": {
  4210. "description": "报价货币ID",
  4211. "type": "integer"
  4212. },
  4213. "decimalplace": {
  4214. "description": "报价小数位",
  4215. "type": "integer"
  4216. },
  4217. "endtime": {
  4218. "description": "预售结束时间",
  4219. "type": "string"
  4220. },
  4221. "floorprice": {
  4222. "description": "底价[大宗式竞拍]",
  4223. "type": "number"
  4224. },
  4225. "goodscode": {
  4226. "description": "商品代码(预售)",
  4227. "type": "string"
  4228. },
  4229. "goodsdetail": {
  4230. "description": "详情[大宗]",
  4231. "type": "string"
  4232. },
  4233. "goodsid": {
  4234. "description": "商品ID(自增ID SEQ_GOODS)",
  4235. "type": "integer"
  4236. },
  4237. "goodsname": {
  4238. "description": "商品名称(预售)",
  4239. "type": "string"
  4240. },
  4241. "goodunit": {
  4242. "description": "报价单位",
  4243. "type": "string"
  4244. },
  4245. "goodunitid": {
  4246. "description": "报价单位ID",
  4247. "type": "integer"
  4248. },
  4249. "marketid": {
  4250. "description": "所属市场ID",
  4251. "type": "integer"
  4252. },
  4253. "marketname": {
  4254. "description": "预售市场名称",
  4255. "type": "string"
  4256. },
  4257. "presaledamount": {
  4258. "description": "已预售总金额(预售结束时更新)",
  4259. "type": "number"
  4260. },
  4261. "presaledqty": {
  4262. "description": "已预售量(预售结束时更新)",
  4263. "type": "integer"
  4264. },
  4265. "presalemode": {
  4266. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4267. "type": "integer"
  4268. },
  4269. "presaleqty": {
  4270. "description": "预售数量",
  4271. "type": "integer"
  4272. },
  4273. "refprice": {
  4274. "description": "参考价格[一口价]",
  4275. "type": "number"
  4276. },
  4277. "relatedgoodscode": {
  4278. "description": "商品代码(订单)",
  4279. "type": "string"
  4280. },
  4281. "relatedgoodsid": {
  4282. "description": "关联交易合约ID",
  4283. "type": "integer"
  4284. },
  4285. "relatedgoodsname": {
  4286. "description": "商品名称(订单)",
  4287. "type": "string"
  4288. },
  4289. "relatedmarketid": {
  4290. "description": "关联交易合约市场ID",
  4291. "type": "integer"
  4292. },
  4293. "sellstatus": {
  4294. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4295. "type": "integer"
  4296. },
  4297. "startprice": {
  4298. "description": "起拍价[大宗式竞拍]",
  4299. "type": "number"
  4300. },
  4301. "starttime": {
  4302. "description": "预售开始时间",
  4303. "type": "string"
  4304. },
  4305. "tradedate": {
  4306. "description": "交易日(yyyyMMdd)",
  4307. "type": "string"
  4308. },
  4309. "tradeprice": {
  4310. "description": "成交价[大宗]",
  4311. "type": "number"
  4312. },
  4313. "userid": {
  4314. "description": "卖方用户ID",
  4315. "type": "integer"
  4316. }
  4317. }
  4318. },
  4319. "cptrade.QueryPresaleGoodsExRsp": {
  4320. "type": "object",
  4321. "required": [
  4322. "goodsid"
  4323. ],
  4324. "properties": {
  4325. "attachmenturl": {
  4326. "description": "附件地址",
  4327. "type": "string"
  4328. },
  4329. "createtime": {
  4330. "description": "创建时间",
  4331. "type": "string"
  4332. },
  4333. "endtime": {
  4334. "description": "预售结束时间",
  4335. "type": "string"
  4336. },
  4337. "floorprice": {
  4338. "description": "底价[大宗式竞拍]",
  4339. "type": "number"
  4340. },
  4341. "goodsdetail": {
  4342. "description": "详情[大宗]",
  4343. "type": "string"
  4344. },
  4345. "goodsid": {
  4346. "description": "商品ID(预售)",
  4347. "type": "integer"
  4348. },
  4349. "goodunit": {
  4350. "description": "报价单位",
  4351. "type": "string"
  4352. },
  4353. "marketid": {
  4354. "description": "预售市场ID - 根据预售模式选择市场",
  4355. "type": "integer"
  4356. },
  4357. "presaledamount": {
  4358. "description": "已预售总金额(预售结束时更新)",
  4359. "type": "number"
  4360. },
  4361. "presaledqty": {
  4362. "description": "已预售量(预售结束时更新)",
  4363. "type": "integer"
  4364. },
  4365. "presalemode": {
  4366. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4367. "type": "integer"
  4368. },
  4369. "presaleqty": {
  4370. "description": "预售数量",
  4371. "type": "integer"
  4372. },
  4373. "refprice": {
  4374. "description": "参考价格[一口价]",
  4375. "type": "number"
  4376. },
  4377. "relatedgoodsid": {
  4378. "description": "关联交易合约ID",
  4379. "type": "integer"
  4380. },
  4381. "relatedmarketid": {
  4382. "description": "关联交易合约市场ID",
  4383. "type": "integer"
  4384. },
  4385. "sellstatus": {
  4386. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4387. "type": "integer"
  4388. },
  4389. "startprice": {
  4390. "description": "起拍价[大宗式竞拍]",
  4391. "type": "number"
  4392. },
  4393. "starttime": {
  4394. "description": "预售开始时间",
  4395. "type": "string"
  4396. },
  4397. "tradedate": {
  4398. "description": "交易日(yyyyMMdd)",
  4399. "type": "string"
  4400. },
  4401. "tradeprice": {
  4402. "description": "成交价[大宗]",
  4403. "type": "number"
  4404. }
  4405. }
  4406. },
  4407. "delivery.QueryDeliveryRelationRsp": {
  4408. "type": "object",
  4409. "required": [
  4410. "begindate",
  4411. "enddate",
  4412. "goodsid",
  4413. "mindeliveryqty",
  4414. "xdeliveryratio"
  4415. ],
  4416. "properties": {
  4417. "begindate": {
  4418. "description": "起始日期(yyyyMMdd)",
  4419. "type": "string"
  4420. },
  4421. "buytemplateid": {
  4422. "description": "买履约计划模板ID",
  4423. "type": "integer"
  4424. },
  4425. "deliverygoodscode": {
  4426. "description": "品种代码",
  4427. "type": "string"
  4428. },
  4429. "deliverygoodsid": {
  4430. "description": "交割商品",
  4431. "type": "integer"
  4432. },
  4433. "deliverygoodsname": {
  4434. "description": "品种名称",
  4435. "type": "string"
  4436. },
  4437. "deliverymode": {
  4438. "description": "交割方式 - 1:点选式 2:申报式",
  4439. "type": "integer"
  4440. },
  4441. "deliverypricerule": {
  4442. "description": "交割价规则- 1:行情价 2:建仓价",
  4443. "type": "integer"
  4444. },
  4445. "deliverytype": {
  4446. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4447. "type": "integer"
  4448. },
  4449. "enddate": {
  4450. "description": "结束日期(yyyyMMdd)",
  4451. "type": "string"
  4452. },
  4453. "goodscode": {
  4454. "description": "商品代码",
  4455. "type": "string"
  4456. },
  4457. "goodsid": {
  4458. "description": "交易合约ID",
  4459. "type": "integer"
  4460. },
  4461. "goodsname": {
  4462. "description": "商品名称",
  4463. "type": "string"
  4464. },
  4465. "marketid": {
  4466. "description": "市场ID",
  4467. "type": "integer"
  4468. },
  4469. "mindeliveryqty": {
  4470. "description": "最小交割系数(K)",
  4471. "type": "integer"
  4472. },
  4473. "p2deliveryprice": {
  4474. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4475. "type": "number"
  4476. },
  4477. "p2deliveryratio": {
  4478. "description": "P2合约系数(p)",
  4479. "type": "integer"
  4480. },
  4481. "p2goodsid": {
  4482. "description": "P2合约ID",
  4483. "type": "integer"
  4484. },
  4485. "p2pricemode": {
  4486. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4487. "type": "integer"
  4488. },
  4489. "pdeliveryprice": {
  4490. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4491. "type": "number"
  4492. },
  4493. "pdeliveryratio": {
  4494. "description": "P合约系数(n)",
  4495. "type": "integer"
  4496. },
  4497. "pgoodsid": {
  4498. "description": "P合约ID",
  4499. "type": "integer"
  4500. },
  4501. "ppricemode": {
  4502. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4503. "type": "integer"
  4504. },
  4505. "rratio": {
  4506. "description": "兑换系数(R)",
  4507. "type": "integer"
  4508. },
  4509. "rratio1": {
  4510. "description": "兑换系数(交易合约)(R1)",
  4511. "type": "integer"
  4512. },
  4513. "rratio2": {
  4514. "description": "兑换系数(仓单标准)(R2)",
  4515. "type": "integer"
  4516. },
  4517. "selltemplateid": {
  4518. "description": "卖履约计划模板ID",
  4519. "type": "integer"
  4520. },
  4521. "wrstandardid": {
  4522. "description": "仓单标准ID",
  4523. "type": "integer"
  4524. },
  4525. "xdeliveryratio": {
  4526. "description": "交易合约系数(m)",
  4527. "type": "integer"
  4528. }
  4529. }
  4530. },
  4531. "erms2.QueryArbitrageStrategyRsp": {
  4532. "type": "object",
  4533. "required": [
  4534. "asapplyid"
  4535. ],
  4536. "properties": {
  4537. "applybasis": {
  4538. "description": "申请基差",
  4539. "type": "number"
  4540. },
  4541. "asapplyid": {
  4542. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4543. "type": "string"
  4544. },
  4545. "asname": {
  4546. "description": "策略名称",
  4547. "type": "string"
  4548. },
  4549. "asno": {
  4550. "description": "策略编号",
  4551. "type": "string"
  4552. },
  4553. "basischangepl": {
  4554. "description": "基差变动损益[结算更新]",
  4555. "type": "number"
  4556. },
  4557. "biztype": {
  4558. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4559. "type": "integer"
  4560. },
  4561. "closetradedate": {
  4562. "description": "完结交易日(yyyyMMdd)",
  4563. "type": "string"
  4564. },
  4565. "curbasis": {
  4566. "description": "当前基差[结算更新]",
  4567. "type": "number"
  4568. },
  4569. "deliverygoodsid": {
  4570. "description": "现货品种ID",
  4571. "type": "integer"
  4572. },
  4573. "futureavgprice": {
  4574. "description": "期货建仓均价",
  4575. "type": "number"
  4576. },
  4577. "futurecloseamount": {
  4578. "description": "期货平仓金额",
  4579. "type": "number"
  4580. },
  4581. "futurecloseqty": {
  4582. "description": "期货平仓数量",
  4583. "type": "number"
  4584. },
  4585. "futureopenamount": {
  4586. "description": "期货开仓金额",
  4587. "type": "number"
  4588. },
  4589. "futureopenqty": {
  4590. "description": "期货开仓数量",
  4591. "type": "number"
  4592. },
  4593. "futurepl": {
  4594. "description": "期货总盈亏[结算更新]",
  4595. "type": "number"
  4596. },
  4597. "futureqty": {
  4598. "description": "期货持仓数量",
  4599. "type": "number"
  4600. },
  4601. "futurequote": {
  4602. "description": "期货额度",
  4603. "type": "number"
  4604. },
  4605. "goodsgroupid": {
  4606. "description": "期货品种ID",
  4607. "type": "integer"
  4608. },
  4609. "marketid": {
  4610. "description": "市场ID",
  4611. "type": "integer"
  4612. },
  4613. "netexposure": {
  4614. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4615. "type": "number"
  4616. },
  4617. "netexposurepl": {
  4618. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4619. "type": "number"
  4620. },
  4621. "netexposurerate": {
  4622. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4623. "type": "number"
  4624. },
  4625. "openbasis": {
  4626. "description": "建仓基差",
  4627. "type": "number"
  4628. },
  4629. "pricedspotqty": {
  4630. "description": "已定价现货数量",
  4631. "type": "number"
  4632. },
  4633. "pricedspotqtynotax": {
  4634. "description": "已定价现货不含税数量",
  4635. "type": "number"
  4636. },
  4637. "remark": {
  4638. "description": "备注",
  4639. "type": "string"
  4640. },
  4641. "spotavgprice": {
  4642. "description": "现货均价",
  4643. "type": "number"
  4644. },
  4645. "spotbuyamount": {
  4646. "description": "现货采购金额",
  4647. "type": "number"
  4648. },
  4649. "spotbuyqty": {
  4650. "description": "现货采购数量",
  4651. "type": "number"
  4652. },
  4653. "spotpl": {
  4654. "description": "现货总盈亏[结算更新]",
  4655. "type": "number"
  4656. },
  4657. "spotquota": {
  4658. "description": "现货额度",
  4659. "type": "number"
  4660. },
  4661. "spotsellamount": {
  4662. "description": "现货销售金额",
  4663. "type": "number"
  4664. },
  4665. "spotsellqty": {
  4666. "description": "现货销售数量",
  4667. "type": "number"
  4668. },
  4669. "spotusedquota": {
  4670. "description": "现货占用资金",
  4671. "type": "number"
  4672. },
  4673. "strategystatus": {
  4674. "description": "策略状态 - 0:未结束 1:已结束",
  4675. "type": "integer"
  4676. },
  4677. "totalpl": {
  4678. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4679. "type": "number"
  4680. },
  4681. "tradedate": {
  4682. "description": "交易日(yyyyMMdd)",
  4683. "type": "string"
  4684. },
  4685. "updatetime": {
  4686. "description": "更新时间",
  4687. "type": "string"
  4688. },
  4689. "usedquota": {
  4690. "description": "已占用资金",
  4691. "type": "number"
  4692. },
  4693. "userid": {
  4694. "description": "所属机构",
  4695. "type": "integer"
  4696. }
  4697. }
  4698. },
  4699. "erms2.QueryInnerTradeDetailRsp": {
  4700. "type": "object",
  4701. "required": [
  4702. "asapplyid",
  4703. "buyorsell",
  4704. "goodscode",
  4705. "goodsgroupid",
  4706. "goodsgroupname",
  4707. "goodsname",
  4708. "tradeid"
  4709. ],
  4710. "properties": {
  4711. "accountid": {
  4712. "description": "账号ID",
  4713. "type": "integer"
  4714. },
  4715. "agreeunit": {
  4716. "description": "合约单位",
  4717. "type": "number"
  4718. },
  4719. "asapplyid": {
  4720. "description": "策略申请ID",
  4721. "type": "integer"
  4722. },
  4723. "asname": {
  4724. "description": "策略名称",
  4725. "type": "string"
  4726. },
  4727. "asno": {
  4728. "description": "策略编号",
  4729. "type": "string"
  4730. },
  4731. "buyorsell": {
  4732. "description": "方向 - 0:买 1:卖",
  4733. "type": "integer"
  4734. },
  4735. "channelbuildtype": {
  4736. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4737. "type": "integer"
  4738. },
  4739. "closetype": {
  4740. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4741. "type": "integer"
  4742. },
  4743. "decimalplace": {
  4744. "description": "报价小数位",
  4745. "type": "integer"
  4746. },
  4747. "detailtype": {
  4748. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4749. "type": "integer"
  4750. },
  4751. "exexchangecode": {
  4752. "description": "外部交易所代码",
  4753. "type": "string"
  4754. },
  4755. "exexchangename": {
  4756. "description": "外部交易所名称",
  4757. "type": "string"
  4758. },
  4759. "goodscode": {
  4760. "description": "商品代码(合约)",
  4761. "type": "string"
  4762. },
  4763. "goodsgroupid": {
  4764. "description": "商品组ID(品种ID)",
  4765. "type": "integer"
  4766. },
  4767. "goodsgroupname": {
  4768. "description": "商品组名称(品种)",
  4769. "type": "string"
  4770. },
  4771. "goodsid": {
  4772. "description": "商品ID",
  4773. "type": "integer"
  4774. },
  4775. "goodsname": {
  4776. "description": "商品名称(合约)",
  4777. "type": "string"
  4778. },
  4779. "goodunit": {
  4780. "description": "报价单位",
  4781. "type": "string"
  4782. },
  4783. "marketid": {
  4784. "description": "市场ID",
  4785. "type": "integer"
  4786. },
  4787. "orderid": {
  4788. "description": "委托单号",
  4789. "type": "string"
  4790. },
  4791. "outgoodscode": {
  4792. "description": "商品代码(外部)",
  4793. "type": "string"
  4794. },
  4795. "relatedouttradeid": {
  4796. "description": "关联外部成交单ID",
  4797. "type": "string"
  4798. },
  4799. "remark": {
  4800. "description": "备注",
  4801. "type": "string"
  4802. },
  4803. "spotcontractid": {
  4804. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4805. "type": "integer"
  4806. },
  4807. "spotcontractno": {
  4808. "description": "现货合同编号",
  4809. "type": "string"
  4810. },
  4811. "tradeid": {
  4812. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4813. "type": "string"
  4814. },
  4815. "tradeprice": {
  4816. "description": "成交价格",
  4817. "type": "number"
  4818. },
  4819. "tradeqty": {
  4820. "description": "成交数量",
  4821. "type": "integer"
  4822. },
  4823. "tradetime": {
  4824. "description": "成交时间",
  4825. "type": "string"
  4826. },
  4827. "updatetime": {
  4828. "description": "更新时间",
  4829. "type": "string"
  4830. }
  4831. }
  4832. },
  4833. "erms2.QuerySpotContractRsp": {
  4834. "type": "object",
  4835. "required": [
  4836. "spotcontractid"
  4837. ],
  4838. "properties": {
  4839. "accountid": {
  4840. "description": "资金账户ID",
  4841. "type": "integer"
  4842. },
  4843. "areauserid": {
  4844. "description": "所属机构",
  4845. "type": "integer"
  4846. },
  4847. "closedate": {
  4848. "description": "终止日期",
  4849. "type": "string"
  4850. },
  4851. "closeremark": {
  4852. "description": "结束备注",
  4853. "type": "string"
  4854. },
  4855. "closetradedate": {
  4856. "description": "完结交易日(yyyyMMdd)",
  4857. "type": "string"
  4858. },
  4859. "closetype": {
  4860. "description": "终止类型 - 1:违约 2:提前终止",
  4861. "type": "integer"
  4862. },
  4863. "contractamount": {
  4864. "description": "合同金额",
  4865. "type": "number"
  4866. },
  4867. "contractattachment": {
  4868. "description": "合同附件",
  4869. "type": "string"
  4870. },
  4871. "contractno": {
  4872. "description": "现货合同编号",
  4873. "type": "string"
  4874. },
  4875. "contractqty": {
  4876. "description": "合同数量(数值) (用于计算)",
  4877. "type": "number"
  4878. },
  4879. "contractqtychar": {
  4880. "description": "合同数量\\已订价数量 (用于显示)",
  4881. "type": "string"
  4882. },
  4883. "contractstatus": {
  4884. "description": "合同状态 - 0:未结束 1:已结束",
  4885. "type": "integer"
  4886. },
  4887. "contracttype": {
  4888. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4889. "type": "integer"
  4890. },
  4891. "customeraccountid": {
  4892. "description": "客户资金账户ID",
  4893. "type": "integer"
  4894. },
  4895. "customeruserid": {
  4896. "description": "客户ID",
  4897. "type": "integer"
  4898. },
  4899. "deliverygoodsdesc": {
  4900. "description": "品种说明",
  4901. "type": "string"
  4902. },
  4903. "deliverygoodsid": {
  4904. "description": "现货品种ID",
  4905. "type": "integer"
  4906. },
  4907. "handlestatus": {
  4908. "description": "处理状态",
  4909. "type": "integer"
  4910. },
  4911. "invoiceatt": {
  4912. "description": "发票附件",
  4913. "type": "string"
  4914. },
  4915. "invoicedatetime": {
  4916. "description": "开收票更新时间",
  4917. "type": "string"
  4918. },
  4919. "invoiceopentime": {
  4920. "description": "开票时间",
  4921. "type": "string"
  4922. },
  4923. "invoiceremark": {
  4924. "description": "发票备注",
  4925. "type": "string"
  4926. },
  4927. "invoicestatus": {
  4928. "description": "开收票状态 - 0:未开票 1:已开票",
  4929. "type": "integer"
  4930. },
  4931. "lastdate": {
  4932. "description": "交货时间",
  4933. "type": "string"
  4934. },
  4935. "marketid": {
  4936. "description": "市场ID",
  4937. "type": "integer"
  4938. },
  4939. "paydatetime": {
  4940. "description": "收付款更新时间",
  4941. "type": "string"
  4942. },
  4943. "payremark": {
  4944. "description": "收付款备注",
  4945. "type": "string"
  4946. },
  4947. "paystatus": {
  4948. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4949. "type": "integer"
  4950. },
  4951. "positionqty": {
  4952. "description": "头寸数量 - 合同数量去小数部分",
  4953. "type": "integer"
  4954. },
  4955. "producttype": {
  4956. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4957. "type": "integer"
  4958. },
  4959. "relatedqty": {
  4960. "description": "已关联数量",
  4961. "type": "number"
  4962. },
  4963. "relatedstatus": {
  4964. "description": "关联完结状态 - 0:未结束 1:已结束",
  4965. "type": "integer"
  4966. },
  4967. "remark": {
  4968. "description": "备注",
  4969. "type": "string"
  4970. },
  4971. "signdate": {
  4972. "description": "签订日期",
  4973. "type": "string"
  4974. },
  4975. "spotcontractid": {
  4976. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4977. "type": "string"
  4978. },
  4979. "spotdatetime": {
  4980. "description": "收发货更新时间",
  4981. "type": "string"
  4982. },
  4983. "spotprice": {
  4984. "description": "价格",
  4985. "type": "number"
  4986. },
  4987. "spotremark": {
  4988. "description": "收发货备注",
  4989. "type": "string"
  4990. },
  4991. "spotstatus": {
  4992. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4993. "type": "integer"
  4994. },
  4995. "tradedate": {
  4996. "description": "交易日(yyyyMMdd)",
  4997. "type": "string"
  4998. },
  4999. "userid": {
  5000. "description": "业务员用户ID",
  5001. "type": "integer"
  5002. },
  5003. "warehouseid": {
  5004. "description": "仓库ID",
  5005. "type": "integer"
  5006. },
  5007. "wrfactortypeid": {
  5008. "description": "仓单要素类型ID",
  5009. "type": "integer"
  5010. },
  5011. "wrstandardid": {
  5012. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5013. "type": "integer"
  5014. }
  5015. }
  5016. },
  5017. "erms3.AddErms2ASApplyReq": {
  5018. "type": "object",
  5019. "required": [
  5020. "asapplyid"
  5021. ],
  5022. "properties": {
  5023. "applybasis": {
  5024. "description": "申请基差",
  5025. "type": "number"
  5026. },
  5027. "applystatus": {
  5028. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5029. "type": "integer"
  5030. },
  5031. "asapplyid": {
  5032. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5033. "type": "integer"
  5034. },
  5035. "asname": {
  5036. "description": "策略名称",
  5037. "type": "string"
  5038. },
  5039. "asno": {
  5040. "description": "策略编号",
  5041. "type": "string"
  5042. },
  5043. "auditid": {
  5044. "description": "审核人",
  5045. "type": "integer"
  5046. },
  5047. "auditremark": {
  5048. "description": "审核备注",
  5049. "type": "string"
  5050. },
  5051. "audittime": {
  5052. "description": "审核时间",
  5053. "type": "string"
  5054. },
  5055. "biztype": {
  5056. "description": "业务类型 - 1:正向套利 2:反向套利",
  5057. "type": "integer"
  5058. },
  5059. "createtime": {
  5060. "description": "创建时间",
  5061. "type": "string"
  5062. },
  5063. "creatorid": {
  5064. "description": "创建人",
  5065. "type": "integer"
  5066. },
  5067. "deliverygoodsid": {
  5068. "description": "现货品种ID",
  5069. "type": "integer"
  5070. },
  5071. "futurequote": {
  5072. "description": "期货额度",
  5073. "type": "number"
  5074. },
  5075. "goodsgroupid": {
  5076. "description": "期货品种ID",
  5077. "type": "integer"
  5078. },
  5079. "marketid": {
  5080. "description": "市场ID",
  5081. "type": "integer"
  5082. },
  5083. "remark": {
  5084. "description": "备注",
  5085. "type": "string"
  5086. },
  5087. "spotquota": {
  5088. "description": "现货额度",
  5089. "type": "number"
  5090. },
  5091. "tradedate": {
  5092. "description": "交易日(yyyyMMdd)",
  5093. "type": "string"
  5094. },
  5095. "userid": {
  5096. "description": "所属机构",
  5097. "type": "integer"
  5098. }
  5099. }
  5100. },
  5101. "erms3.AddErms2SpotTradeApplyReq": {
  5102. "type": "object",
  5103. "required": [
  5104. "spottradeid"
  5105. ],
  5106. "properties": {
  5107. "applyjsondetail": {
  5108. "description": "申请明细(JSON)",
  5109. "type": "string"
  5110. },
  5111. "applystatus": {
  5112. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5113. "type": "integer"
  5114. },
  5115. "areauserid": {
  5116. "description": "所属机构",
  5117. "type": "integer"
  5118. },
  5119. "auditid": {
  5120. "description": "审核人",
  5121. "type": "integer"
  5122. },
  5123. "auditremark": {
  5124. "description": "审核备注",
  5125. "type": "string"
  5126. },
  5127. "audittime": {
  5128. "description": "审核时间",
  5129. "type": "string"
  5130. },
  5131. "createtime": {
  5132. "description": "创建时间",
  5133. "type": "string"
  5134. },
  5135. "creatorid": {
  5136. "description": "创建人",
  5137. "type": "integer"
  5138. },
  5139. "deliverygoodsid": {
  5140. "description": "现货品种ID",
  5141. "type": "integer"
  5142. },
  5143. "futureaccountid": {
  5144. "description": "期货资金账户",
  5145. "type": "integer"
  5146. },
  5147. "goodsgroupid": {
  5148. "description": "期货品种",
  5149. "type": "integer"
  5150. },
  5151. "marketid": {
  5152. "description": "市场ID",
  5153. "type": "integer"
  5154. },
  5155. "remark": {
  5156. "description": "备注",
  5157. "type": "string"
  5158. },
  5159. "spotaccountid": {
  5160. "description": "现货资金账户",
  5161. "type": "integer"
  5162. },
  5163. "spottradeid": {
  5164. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5165. "type": "integer"
  5166. },
  5167. "spottradename": {
  5168. "description": "业务名称",
  5169. "type": "string"
  5170. },
  5171. "spottradeno": {
  5172. "description": "业务编号",
  5173. "type": "string"
  5174. },
  5175. "tradedate": {
  5176. "description": "交易日(yyyyMMdd)",
  5177. "type": "string"
  5178. },
  5179. "wrstandardid": {
  5180. "description": "仓单标准ID",
  5181. "type": "integer"
  5182. }
  5183. }
  5184. },
  5185. "erms3.AddSpotContractApplyReq": {
  5186. "type": "object",
  5187. "required": [
  5188. "accountid",
  5189. "areauserid",
  5190. "contractno",
  5191. "contracttype",
  5192. "customeraccountid",
  5193. "customeruserid",
  5194. "details",
  5195. "orimargin",
  5196. "signdate"
  5197. ],
  5198. "properties": {
  5199. "accountid": {
  5200. "description": "资金账户ID",
  5201. "type": "integer"
  5202. },
  5203. "areauserid": {
  5204. "description": "所属机构",
  5205. "type": "integer"
  5206. },
  5207. "contractattachment": {
  5208. "description": "合同附件",
  5209. "type": "string"
  5210. },
  5211. "contractno": {
  5212. "description": "现货合同编号",
  5213. "type": "string"
  5214. },
  5215. "contracttype": {
  5216. "description": "现货合同类型 - 1:采购 -1:销售",
  5217. "type": "integer"
  5218. },
  5219. "creatorid": {
  5220. "description": "申请人",
  5221. "type": "integer"
  5222. },
  5223. "customeraccountid": {
  5224. "description": "客户资金账户ID",
  5225. "type": "integer"
  5226. },
  5227. "customeruserid": {
  5228. "description": "客户ID",
  5229. "type": "integer"
  5230. },
  5231. "details": {
  5232. "description": "明细",
  5233. "type": "array",
  5234. "items": {
  5235. "$ref": "#/definitions/erms3.SoptContractDetail"
  5236. }
  5237. },
  5238. "orimargin": {
  5239. "description": "初始保证金",
  5240. "type": "number"
  5241. },
  5242. "remark": {
  5243. "description": "备注",
  5244. "type": "string"
  5245. },
  5246. "signdate": {
  5247. "description": "签订日期",
  5248. "type": "string"
  5249. }
  5250. }
  5251. },
  5252. "erms3.AddSpotContractApplyRsp": {
  5253. "type": "object",
  5254. "required": [
  5255. "contractno"
  5256. ],
  5257. "properties": {
  5258. "contractno": {
  5259. "description": "现货合同编号",
  5260. "type": "string"
  5261. },
  5262. "spotcontractid": {
  5263. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5264. "type": "integer"
  5265. }
  5266. }
  5267. },
  5268. "erms3.AddUserInfoApplyReq": {
  5269. "type": "object",
  5270. "required": [
  5271. "userid"
  5272. ],
  5273. "properties": {
  5274. "accountid": {
  5275. "description": "交易系统帐号Id (加密存储)",
  5276. "type": "integer"
  5277. },
  5278. "areacode": {
  5279. "description": "机构代码",
  5280. "type": "string"
  5281. },
  5282. "areaid": {
  5283. "description": "机构Id",
  5284. "type": "integer"
  5285. },
  5286. "attachment1": {
  5287. "description": "附件1",
  5288. "type": "string"
  5289. },
  5290. "attachment2": {
  5291. "description": "附件2",
  5292. "type": "string"
  5293. },
  5294. "attachment3": {
  5295. "description": "附件3",
  5296. "type": "string"
  5297. },
  5298. "attachment4": {
  5299. "description": "附件4",
  5300. "type": "string"
  5301. },
  5302. "attachment5": {
  5303. "description": "附件5",
  5304. "type": "string"
  5305. },
  5306. "auditedby": {
  5307. "description": "审核人",
  5308. "type": "string"
  5309. },
  5310. "auditime": {
  5311. "description": "审核时间",
  5312. "type": "string"
  5313. },
  5314. "bankaccount": {
  5315. "description": "银行帐号 (加密存储)",
  5316. "type": "string"
  5317. },
  5318. "bankaccountname": {
  5319. "description": "收款人名称",
  5320. "type": "string"
  5321. },
  5322. "bankcardbackphotourl": {
  5323. "description": "银行卡背面照地址",
  5324. "type": "string"
  5325. },
  5326. "bankcardfrontphotourl": {
  5327. "description": "银行卡正面照地址",
  5328. "type": "string"
  5329. },
  5330. "bankid": {
  5331. "description": "银行编码",
  5332. "type": "string"
  5333. },
  5334. "bankname": {
  5335. "description": "银行名称",
  5336. "type": "string"
  5337. },
  5338. "bankpictureurl": {
  5339. "description": "银行卡正面地址",
  5340. "type": "string"
  5341. },
  5342. "biznature": {
  5343. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5344. "type": "integer"
  5345. },
  5346. "bizscope": {
  5347. "description": "企业经营范围(企业)",
  5348. "type": "string"
  5349. },
  5350. "biztype": {
  5351. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5352. "type": "integer"
  5353. },
  5354. "brokerid": {
  5355. "description": "经纪人ID(加密存储)",
  5356. "type": "string"
  5357. },
  5358. "cardaddress": {
  5359. "description": "证件地址 (加密存储)",
  5360. "type": "string"
  5361. },
  5362. "cardbackphotourl": {
  5363. "description": "背面证件照地址",
  5364. "type": "string"
  5365. },
  5366. "cardfrontphotourl": {
  5367. "description": "正面证件照地址",
  5368. "type": "string"
  5369. },
  5370. "cardnum": {
  5371. "description": "证件号码 (加密存储)",
  5372. "type": "string"
  5373. },
  5374. "cardtype": {
  5375. "description": "证件类型",
  5376. "type": "integer"
  5377. },
  5378. "cityid": {
  5379. "description": "市",
  5380. "type": "integer"
  5381. },
  5382. "company": {
  5383. "description": "公司(个人)",
  5384. "type": "string"
  5385. },
  5386. "contactcardbackphotourl": {
  5387. "description": "联系人证件背面图片地址",
  5388. "type": "string"
  5389. },
  5390. "contactcardfrontphotourl": {
  5391. "description": "联系人证件正面图片地址",
  5392. "type": "string"
  5393. },
  5394. "contactname": {
  5395. "description": "联系人",
  5396. "type": "string"
  5397. },
  5398. "countryid": {
  5399. "description": "国家",
  5400. "type": "integer"
  5401. },
  5402. "createtime": {
  5403. "description": "开户申请时间",
  5404. "type": "string"
  5405. },
  5406. "cusbankid": {
  5407. "description": "签约类型",
  5408. "type": "string"
  5409. },
  5410. "cusbankname": {
  5411. "description": "签约类型名称",
  5412. "type": "string"
  5413. },
  5414. "customername": {
  5415. "description": "客户名称(企业名称)",
  5416. "type": "string"
  5417. },
  5418. "districtid": {
  5419. "description": "地区",
  5420. "type": "integer"
  5421. },
  5422. "email": {
  5423. "description": "Email地址(加密存储)",
  5424. "type": "string"
  5425. },
  5426. "halfbodyphotourl": {
  5427. "description": "半身照地址",
  5428. "type": "string"
  5429. },
  5430. "headurl": {
  5431. "description": "头像地址",
  5432. "type": "string"
  5433. },
  5434. "ipaddress": {
  5435. "description": "IP地址",
  5436. "type": "string"
  5437. },
  5438. "isvalidate": {
  5439. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5440. "type": "string"
  5441. },
  5442. "legalcardbackphotourl": {
  5443. "description": "法人身份证背面照地址",
  5444. "type": "string"
  5445. },
  5446. "legalcardfrontphotourl": {
  5447. "description": "法人身份证正面照地址",
  5448. "type": "string"
  5449. },
  5450. "legalpersonname": {
  5451. "description": "法人姓名(企业)",
  5452. "type": "string"
  5453. },
  5454. "logincode": {
  5455. "description": "登录帐号 (加密存储)",
  5456. "type": "string"
  5457. },
  5458. "memberareaid": {
  5459. "description": "所属会员ID",
  5460. "type": "integer"
  5461. },
  5462. "mobile2": {
  5463. "description": "手机号码[明文-尚志]",
  5464. "type": "string"
  5465. },
  5466. "mobilephone": {
  5467. "description": "手机号码 (加密存储)",
  5468. "type": "string"
  5469. },
  5470. "modifiedby": {
  5471. "description": "修改人帐号",
  5472. "type": "integer"
  5473. },
  5474. "modifiedtime": {
  5475. "description": "修改时间",
  5476. "type": "string"
  5477. },
  5478. "nickname": {
  5479. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5480. "type": "string"
  5481. },
  5482. "openmode": {
  5483. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5484. "type": "integer"
  5485. },
  5486. "otherurl": {
  5487. "description": "其它图片地址[使用分号分隔]",
  5488. "type": "string"
  5489. },
  5490. "postalcode": {
  5491. "description": "邮政编码",
  5492. "type": "string"
  5493. },
  5494. "provinceid": {
  5495. "description": "省",
  5496. "type": "integer"
  5497. },
  5498. "proxystatementurl": {
  5499. "description": "授权委托书",
  5500. "type": "string"
  5501. },
  5502. "qq": {
  5503. "description": "QQ(加密存储",
  5504. "type": "string"
  5505. },
  5506. "referral": {
  5507. "description": "推荐人编码",
  5508. "type": "string"
  5509. },
  5510. "remark": {
  5511. "description": "备注",
  5512. "type": "string"
  5513. },
  5514. "removebeforestatus": {
  5515. "description": "REMOVEBEFORESTATUS",
  5516. "type": "integer"
  5517. },
  5518. "sex": {
  5519. "description": "性别 - 0:女 1:男",
  5520. "type": "integer"
  5521. },
  5522. "signedstatus": {
  5523. "description": "账户一号签签约状态",
  5524. "type": "integer"
  5525. },
  5526. "signpdfurl": {
  5527. "description": "签约pdf文件",
  5528. "type": "string"
  5529. },
  5530. "subbranch": {
  5531. "description": "开户支行",
  5532. "type": "string"
  5533. },
  5534. "telphone": {
  5535. "description": "联系电话(加密存储)",
  5536. "type": "string"
  5537. },
  5538. "userid": {
  5539. "description": "用户ID(自增ID)",
  5540. "type": "integer"
  5541. },
  5542. "userinfotype": {
  5543. "description": "用户信息类型 - 1:个人 2:企业",
  5544. "type": "integer"
  5545. },
  5546. "username": {
  5547. "description": "用户姓名",
  5548. "type": "string"
  5549. },
  5550. "userstate": {
  5551. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5552. "type": "integer"
  5553. },
  5554. "usertype": {
  5555. "description": "用户类型 - 1:投资者 2:机构",
  5556. "type": "integer"
  5557. },
  5558. "videourl": {
  5559. "description": "视频地址",
  5560. "type": "string"
  5561. },
  5562. "wechat": {
  5563. "description": "微信号 (加密存储)",
  5564. "type": "string"
  5565. }
  5566. }
  5567. },
  5568. "erms3.CustomerInfo": {
  5569. "type": "object",
  5570. "required": [
  5571. "userid"
  5572. ],
  5573. "properties": {
  5574. "accountids": {
  5575. "description": "资金账户ID列表",
  5576. "type": "array",
  5577. "items": {
  5578. "type": "integer"
  5579. }
  5580. },
  5581. "customername": {
  5582. "description": "名称(企业名称)",
  5583. "type": "string"
  5584. },
  5585. "mobile": {
  5586. "description": "手机号码",
  5587. "type": "string"
  5588. },
  5589. "userid": {
  5590. "description": "用户ID",
  5591. "type": "integer"
  5592. }
  5593. }
  5594. },
  5595. "erms3.QryAuditContractRsp": {
  5596. "type": "object",
  5597. "required": [
  5598. "matchcustomername",
  5599. "spotcontractid"
  5600. ],
  5601. "properties": {
  5602. "accountid": {
  5603. "description": "交易员ID",
  5604. "type": "string"
  5605. },
  5606. "applystatus": {
  5607. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5608. "type": "integer"
  5609. },
  5610. "curdeliveryqty": {
  5611. "description": "未交收量",
  5612. "type": "integer"
  5613. },
  5614. "customername": {
  5615. "description": "采购方ID",
  5616. "type": "string"
  5617. },
  5618. "deliverygoodsid": {
  5619. "description": "品种ID",
  5620. "type": "string"
  5621. },
  5622. "deliveryqty": {
  5623. "description": "交收量",
  5624. "type": "integer"
  5625. },
  5626. "enumdicname": {
  5627. "description": "单位名称",
  5628. "type": "string"
  5629. },
  5630. "matchaccountid": {
  5631. "description": "业务员ID",
  5632. "type": "string"
  5633. },
  5634. "matchcustomername": {
  5635. "description": "销售方ID",
  5636. "type": "string"
  5637. },
  5638. "pricedqty": {
  5639. "description": "定价量",
  5640. "type": "number"
  5641. },
  5642. "signdate": {
  5643. "description": "签订日期",
  5644. "type": "string"
  5645. },
  5646. "spotcontractid": {
  5647. "description": "合同ID",
  5648. "type": "string"
  5649. },
  5650. "totaldqty": {
  5651. "description": "合同量",
  5652. "type": "number"
  5653. },
  5654. "unpricedqty": {
  5655. "description": "未定价量",
  5656. "type": "number"
  5657. },
  5658. "wrstandardname": {
  5659. "description": "商品名称",
  5660. "type": "string"
  5661. }
  5662. }
  5663. },
  5664. "erms3.QryPendingBizRsp": {
  5665. "type": "object",
  5666. "properties": {
  5667. "accountid": {
  5668. "description": "现货账户",
  5669. "type": "string"
  5670. },
  5671. "areaname": {
  5672. "description": "所属部门",
  5673. "type": "string"
  5674. },
  5675. "bizid": {
  5676. "description": "业务ID",
  5677. "type": "string"
  5678. },
  5679. "bizname": {
  5680. "description": "业务名称",
  5681. "type": "string"
  5682. },
  5683. "status": {
  5684. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5685. "type": "integer"
  5686. },
  5687. "type": {
  5688. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5689. "type": "integer"
  5690. }
  5691. }
  5692. },
  5693. "erms3.QueryBusinessInfoRsp": {
  5694. "type": "object",
  5695. "properties": {
  5696. "businessid": {
  5697. "description": "业务ID.",
  5698. "type": "integer"
  5699. },
  5700. "buyamount": {
  5701. "description": "采购额.",
  5702. "type": "number"
  5703. },
  5704. "buyqty": {
  5705. "description": "采购量.",
  5706. "type": "string"
  5707. },
  5708. "futurepl": {
  5709. "description": "期货盈亏.",
  5710. "type": "number"
  5711. },
  5712. "futureqty": {
  5713. "description": "期货敞口.",
  5714. "type": "string"
  5715. },
  5716. "goodsid": {
  5717. "description": "商品名称/商品代码.",
  5718. "type": "string"
  5719. },
  5720. "hedgingqty": {
  5721. "description": "套保量.",
  5722. "type": "string"
  5723. },
  5724. "sellamount": {
  5725. "description": "销售额.",
  5726. "type": "number"
  5727. },
  5728. "sellqty": {
  5729. "description": "销售量.",
  5730. "type": "string"
  5731. },
  5732. "spotmarketvalue": {
  5733. "description": "现货市值.",
  5734. "type": "number"
  5735. },
  5736. "spotpl": {
  5737. "description": "浮动权益.",
  5738. "type": "number"
  5739. },
  5740. "spotqty": {
  5741. "description": "现货量.",
  5742. "type": "string"
  5743. },
  5744. "statu": {
  5745. "description": "状态,0-未结束 1-已结束.",
  5746. "type": "integer"
  5747. },
  5748. "totalpl": {
  5749. "description": "总盈亏.",
  5750. "type": "number"
  5751. },
  5752. "totalqty": {
  5753. "description": "总敞口.",
  5754. "type": "string"
  5755. },
  5756. "type": {
  5757. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5758. "type": "integer"
  5759. }
  5760. }
  5761. },
  5762. "erms3.QuerySpotContractAppleFormRsp": {
  5763. "type": "object",
  5764. "properties": {
  5765. "goodses": {
  5766. "description": "合约列表",
  5767. "type": "array",
  5768. "items": {
  5769. "$ref": "#/definitions/models.GoodsIDAndName"
  5770. }
  5771. },
  5772. "oppositeusers": {
  5773. "description": "对方账号列表",
  5774. "type": "array",
  5775. "items": {
  5776. "$ref": "#/definitions/erms3.CustomerInfo"
  5777. }
  5778. },
  5779. "ouruser": {
  5780. "description": "我方账号",
  5781. "$ref": "#/definitions/erms3.CustomerInfo"
  5782. },
  5783. "warehouseinfos": {
  5784. "description": "仓库信息列表",
  5785. "type": "array",
  5786. "items": {
  5787. "$ref": "#/definitions/models.Warehouseinfo"
  5788. }
  5789. },
  5790. "wrstandards": {
  5791. "description": "仓单标准列表",
  5792. "type": "array",
  5793. "items": {
  5794. "$ref": "#/definitions/models.WRStandardInfo"
  5795. }
  5796. }
  5797. }
  5798. },
  5799. "erms3.QuerySpotContractInfoRsp": {
  5800. "type": "object",
  5801. "properties": {
  5802. "accountid": {
  5803. "description": "表示交易员ID.",
  5804. "type": "integer"
  5805. },
  5806. "curdeliveryqty": {
  5807. "description": "表示未交收量.",
  5808. "type": "number"
  5809. },
  5810. "customername": {
  5811. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5812. "type": "string"
  5813. },
  5814. "deliverygoodsid": {
  5815. "description": "表示品种ID.",
  5816. "type": "string"
  5817. },
  5818. "deliveryqty": {
  5819. "description": "表示交收量.",
  5820. "type": "number"
  5821. },
  5822. "matchaccountid": {
  5823. "description": "表示业务员ID.",
  5824. "type": "integer"
  5825. },
  5826. "matchcustomername": {
  5827. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5828. "type": "string"
  5829. },
  5830. "priceqty": {
  5831. "description": "表示定价量.",
  5832. "type": "number"
  5833. },
  5834. "relatedbizid": {
  5835. "description": "表示业务ID.",
  5836. "type": "string"
  5837. },
  5838. "signdate": {
  5839. "description": "表示签订日期.",
  5840. "type": "string"
  5841. },
  5842. "spotcontractid": {
  5843. "description": "合同ID",
  5844. "type": "string"
  5845. },
  5846. "status": {
  5847. "description": "表示状态,0-履约中 1-已完成.",
  5848. "type": "integer"
  5849. },
  5850. "totalqty": {
  5851. "description": "表示合同量.",
  5852. "type": "number"
  5853. },
  5854. "unpricedqty": {
  5855. "description": "表示未定价量.",
  5856. "type": "number"
  5857. },
  5858. "wrstandardname": {
  5859. "description": "表示商品ID.",
  5860. "type": "string"
  5861. }
  5862. }
  5863. },
  5864. "erms3.QueryUserInfoAppliesRsp": {
  5865. "type": "object",
  5866. "required": [
  5867. "userid"
  5868. ],
  5869. "properties": {
  5870. "biznature": {
  5871. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5872. "type": "integer"
  5873. },
  5874. "contactname": {
  5875. "description": "联系人",
  5876. "type": "string"
  5877. },
  5878. "createtime": {
  5879. "description": "开户申请时间",
  5880. "type": "string"
  5881. },
  5882. "userid": {
  5883. "description": "用户ID(自增ID)",
  5884. "type": "integer"
  5885. },
  5886. "userinfotype": {
  5887. "description": "用户信息类型 - 1:个人 2:企业",
  5888. "type": "integer"
  5889. },
  5890. "username": {
  5891. "description": "用户姓名",
  5892. "type": "string"
  5893. },
  5894. "userstate": {
  5895. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5896. "type": "integer"
  5897. }
  5898. }
  5899. },
  5900. "erms3.QueryUserInfosRsp": {
  5901. "type": "object",
  5902. "required": [
  5903. "userid"
  5904. ],
  5905. "properties": {
  5906. "biznature": {
  5907. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5908. "type": "integer"
  5909. },
  5910. "contactname": {
  5911. "description": "联系人",
  5912. "type": "string"
  5913. },
  5914. "customername": {
  5915. "description": "客户名称(企业名称)",
  5916. "type": "string"
  5917. },
  5918. "userid": {
  5919. "description": "用户ID",
  5920. "type": "integer"
  5921. },
  5922. "userinfotype": {
  5923. "description": "用户信息类型 - 1:个人 2:企业",
  5924. "type": "integer"
  5925. },
  5926. "userstatus": {
  5927. "description": "用户状态 - 1:正常 2:注销",
  5928. "type": "integer"
  5929. }
  5930. }
  5931. },
  5932. "erms3.SoptContractDetail": {
  5933. "type": "object",
  5934. "required": [
  5935. "deliverygoodsid",
  5936. "producttype",
  5937. "unitname",
  5938. "warehouseid",
  5939. "wrstandardid",
  5940. "wrstandardname"
  5941. ],
  5942. "properties": {
  5943. "deliverygoodsdesc": {
  5944. "description": "现货品种说明",
  5945. "type": "string"
  5946. },
  5947. "deliverygoodsid": {
  5948. "description": "现货品种ID",
  5949. "type": "integer"
  5950. },
  5951. "deliverygoodsname": {
  5952. "description": "现货品种名称",
  5953. "type": "string"
  5954. },
  5955. "pointdesc": {
  5956. "description": "点价描述",
  5957. "type": "string"
  5958. },
  5959. "producttype": {
  5960. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  5961. "type": "integer"
  5962. },
  5963. "producttypename": {
  5964. "description": "产品类型名称",
  5965. "type": "string"
  5966. },
  5967. "spotPointOrderVoList": {
  5968. "description": "点价列表",
  5969. "type": "array",
  5970. "items": {
  5971. "$ref": "#/definitions/erms3.SpotPointOrder"
  5972. }
  5973. },
  5974. "spotPriceOrderList": {
  5975. "description": "定价列表",
  5976. "type": "array",
  5977. "items": {
  5978. "$ref": "#/definitions/erms3.SpotPriceOrder"
  5979. }
  5980. },
  5981. "unitname": {
  5982. "description": "单位名称",
  5983. "type": "string"
  5984. },
  5985. "warehouseid": {
  5986. "description": "仓库ID",
  5987. "type": "integer"
  5988. },
  5989. "warehousename": {
  5990. "description": "仓库名称",
  5991. "type": "string"
  5992. },
  5993. "wrstandardid": {
  5994. "description": "交易标的ID",
  5995. "type": "integer"
  5996. },
  5997. "wrstandardname": {
  5998. "description": "交易标的名称",
  5999. "type": "string"
  6000. }
  6001. }
  6002. },
  6003. "erms3.SpotPointOrder": {
  6004. "type": "object",
  6005. "required": [
  6006. "basic",
  6007. "goodsid",
  6008. "qty"
  6009. ],
  6010. "properties": {
  6011. "basic": {
  6012. "description": "基差",
  6013. "type": "number"
  6014. },
  6015. "deliveryenddate": {
  6016. "description": "交收结束日期",
  6017. "type": "string"
  6018. },
  6019. "deliverystartdate": {
  6020. "description": "交收开始日期",
  6021. "type": "string"
  6022. },
  6023. "enddate": {
  6024. "description": "点价结束日期",
  6025. "type": "string"
  6026. },
  6027. "goodsid": {
  6028. "description": "商品ID",
  6029. "type": "integer"
  6030. },
  6031. "goodsname": {
  6032. "description": "商品名称",
  6033. "type": "string"
  6034. },
  6035. "qty": {
  6036. "description": "数量",
  6037. "type": "number"
  6038. },
  6039. "startdate": {
  6040. "description": "点价开始日期",
  6041. "type": "string"
  6042. }
  6043. }
  6044. },
  6045. "erms3.SpotPriceOrder": {
  6046. "type": "object",
  6047. "required": [
  6048. "amount",
  6049. "price",
  6050. "qty"
  6051. ],
  6052. "properties": {
  6053. "amount": {
  6054. "description": "金额",
  6055. "type": "number"
  6056. },
  6057. "deliveryenddate": {
  6058. "description": "交收结束日期",
  6059. "type": "string"
  6060. },
  6061. "deliverystartdate": {
  6062. "description": "交收开始日期",
  6063. "type": "string"
  6064. },
  6065. "price": {
  6066. "description": "价格",
  6067. "type": "number"
  6068. },
  6069. "qty": {
  6070. "description": "数量",
  6071. "type": "number"
  6072. }
  6073. }
  6074. },
  6075. "hsby.GetHsbyMyCountRsp": {
  6076. "type": "object",
  6077. "properties": {
  6078. "myOrderDetailListingCount": {
  6079. "description": "我的订单求购中数量",
  6080. "type": "integer"
  6081. },
  6082. "myOrderDetailPreCount": {
  6083. "description": "我的订单抢购中数量",
  6084. "type": "integer"
  6085. },
  6086. "myPackageUnReceiveCount": {
  6087. "description": "我的包裹待收货数量",
  6088. "type": "integer"
  6089. },
  6090. "myPackageUnSendCount": {
  6091. "description": "我的包裹待发货数量",
  6092. "type": "integer"
  6093. }
  6094. }
  6095. },
  6096. "hsby.QueryProvincesAndCitiesRsp": {
  6097. "type": "object",
  6098. "properties": {
  6099. "cities": {
  6100. "description": "市",
  6101. "type": "array",
  6102. "items": {
  6103. "$ref": "#/definitions/models.Division"
  6104. }
  6105. },
  6106. "province": {
  6107. "description": "省",
  6108. "$ref": "#/definitions/models.Division"
  6109. }
  6110. }
  6111. },
  6112. "models.Division": {
  6113. "type": "object",
  6114. "required": [
  6115. "autoid",
  6116. "divisioncode"
  6117. ],
  6118. "properties": {
  6119. "autoid": {
  6120. "description": "自增ID",
  6121. "type": "integer"
  6122. },
  6123. "divisioncode": {
  6124. "description": "行政代码",
  6125. "type": "string"
  6126. },
  6127. "divisionlevel": {
  6128. "description": "行政级别",
  6129. "type": "string"
  6130. },
  6131. "divisionname": {
  6132. "description": "行政名称",
  6133. "type": "string"
  6134. },
  6135. "modifierid": {
  6136. "description": "修改人",
  6137. "type": "integer"
  6138. },
  6139. "modifytime": {
  6140. "description": "修改时间",
  6141. "type": "string"
  6142. },
  6143. "parentcode": {
  6144. "description": "上级行政代码",
  6145. "type": "string"
  6146. },
  6147. "pathname": {
  6148. "description": "路径名称",
  6149. "type": "string"
  6150. },
  6151. "postcode": {
  6152. "description": "邮政编码",
  6153. "type": "string"
  6154. },
  6155. "separablename": {
  6156. "description": "可拆分的全称",
  6157. "type": "string"
  6158. },
  6159. "shortcode": {
  6160. "description": "地区简码",
  6161. "type": "string"
  6162. }
  6163. }
  6164. },
  6165. "models.Enumdicitem": {
  6166. "type": "object",
  6167. "required": [
  6168. "autoid",
  6169. "enumdiccode",
  6170. "enumdicid",
  6171. "enumitemname"
  6172. ],
  6173. "properties": {
  6174. "autoid": {
  6175. "description": "自增ID",
  6176. "type": "integer"
  6177. },
  6178. "bankmappedvalue": {
  6179. "description": "银行服务对应值",
  6180. "type": "string"
  6181. },
  6182. "enumdiccode": {
  6183. "description": "所属枚举代码",
  6184. "type": "string"
  6185. },
  6186. "enumdicid": {
  6187. "description": "所属枚举ID",
  6188. "type": "integer"
  6189. },
  6190. "enumdicname": {
  6191. "description": "枚举项名称",
  6192. "type": "string"
  6193. },
  6194. "enumitemname": {
  6195. "description": "枚举项值",
  6196. "type": "integer"
  6197. },
  6198. "enumitemstatus": {
  6199. "description": "枚举项状态 - 1.启用 2.不启用",
  6200. "type": "integer"
  6201. },
  6202. "enumitemvalue": {
  6203. "description": "通用值 - [币种通用简写]",
  6204. "type": "string"
  6205. },
  6206. "param1": {
  6207. "description": "参数1[币种:币种小数位]",
  6208. "type": "string"
  6209. },
  6210. "param2": {
  6211. "description": "参数1[币种:币种显示单位]",
  6212. "type": "string"
  6213. },
  6214. "remark": {
  6215. "description": "备注",
  6216. "type": "string"
  6217. }
  6218. }
  6219. },
  6220. "models.GoodsIDAndName": {
  6221. "type": "object",
  6222. "required": [
  6223. "goodscode",
  6224. "goodsid",
  6225. "goodsname",
  6226. "marketid"
  6227. ],
  6228. "properties": {
  6229. "goodscode": {
  6230. "description": "商品代码(内部)",
  6231. "type": "string"
  6232. },
  6233. "goodsid": {
  6234. "description": "商品ID(自增ID SEQ_GOODS)",
  6235. "type": "integer"
  6236. },
  6237. "goodsname": {
  6238. "description": "商品名称",
  6239. "type": "string"
  6240. },
  6241. "marketid": {
  6242. "description": "所属市场ID",
  6243. "type": "integer"
  6244. }
  6245. }
  6246. },
  6247. "models.HsbyBuyMyPayOrder": {
  6248. "type": "object",
  6249. "required": [
  6250. "accountid",
  6251. "buyorsell",
  6252. "goodscode",
  6253. "goodsid",
  6254. "goodsname",
  6255. "marketid",
  6256. "orderid",
  6257. "trademode"
  6258. ],
  6259. "properties": {
  6260. "accountid": {
  6261. "description": "账户ID[报价币种]",
  6262. "type": "integer"
  6263. },
  6264. "agreeunit": {
  6265. "description": "合约单位",
  6266. "type": "number"
  6267. },
  6268. "buyorsell": {
  6269. "description": "买卖 - 0:买 1:卖",
  6270. "type": "integer"
  6271. },
  6272. "createtime": {
  6273. "description": "创建时间",
  6274. "type": "string"
  6275. },
  6276. "currencysign": {
  6277. "description": "货币符号",
  6278. "type": "string"
  6279. },
  6280. "decimalplace": {
  6281. "description": "报价小数位",
  6282. "type": "integer"
  6283. },
  6284. "goodscode": {
  6285. "description": "商品代码(内部)",
  6286. "type": "string"
  6287. },
  6288. "goodsid": {
  6289. "description": "商品ID",
  6290. "type": "integer"
  6291. },
  6292. "goodsname": {
  6293. "description": "商品名称",
  6294. "type": "string"
  6295. },
  6296. "marketid": {
  6297. "description": "市场ID",
  6298. "type": "integer"
  6299. },
  6300. "offamount": {
  6301. "description": "优惠金额",
  6302. "type": "number"
  6303. },
  6304. "orderid": {
  6305. "description": "单号(成交单号)",
  6306. "type": "string"
  6307. },
  6308. "payflag": {
  6309. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期",
  6310. "type": "integer"
  6311. },
  6312. "paylimitedtime": {
  6313. "description": "支付期限",
  6314. "type": "string"
  6315. },
  6316. "picurls1": {
  6317. "description": "预售商品介绍图片[多张用逗号分隔]",
  6318. "type": "string"
  6319. },
  6320. "picurls2": {
  6321. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6322. "type": "string"
  6323. },
  6324. "tradeamount": {
  6325. "description": "成交金额",
  6326. "type": "number"
  6327. },
  6328. "tradecharge": {
  6329. "description": "成交手续费(买方)",
  6330. "type": "number"
  6331. },
  6332. "trademode": {
  6333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6334. "type": "integer"
  6335. },
  6336. "tradeprice": {
  6337. "description": "成交价格",
  6338. "type": "number"
  6339. },
  6340. "tradeqty": {
  6341. "description": "成交数量",
  6342. "type": "integer"
  6343. },
  6344. "vendorname1": {
  6345. "description": "预售商品供应商名称",
  6346. "type": "string"
  6347. },
  6348. "vendorname2": {
  6349. "description": "挂牌商品供应商名称",
  6350. "type": "string"
  6351. }
  6352. }
  6353. },
  6354. "models.HsbyBuyMyTradeDetail": {
  6355. "type": "object",
  6356. "required": [
  6357. "accountid",
  6358. "buyorsell",
  6359. "goodscode",
  6360. "goodsid",
  6361. "goodsname",
  6362. "marketid",
  6363. "orderid",
  6364. "qty",
  6365. "time",
  6366. "trademode"
  6367. ],
  6368. "properties": {
  6369. "accountid": {
  6370. "description": "账户ID[报价币种]",
  6371. "type": "integer"
  6372. },
  6373. "agreeunit": {
  6374. "description": "合约单位",
  6375. "type": "number"
  6376. },
  6377. "amount": {
  6378. "description": "金额 = 价格 * 数量 * 合约单位",
  6379. "type": "number"
  6380. },
  6381. "buyorsell": {
  6382. "description": "买卖 - 0:买 1:卖",
  6383. "type": "integer"
  6384. },
  6385. "currencysign": {
  6386. "description": "货币符号",
  6387. "type": "string"
  6388. },
  6389. "decimalplace": {
  6390. "description": "报价小数位",
  6391. "type": "integer"
  6392. },
  6393. "goodscode": {
  6394. "description": "商品代码(内部)",
  6395. "type": "string"
  6396. },
  6397. "goodsid": {
  6398. "description": "商品ID",
  6399. "type": "integer"
  6400. },
  6401. "goodsname": {
  6402. "description": "商品名称",
  6403. "type": "string"
  6404. },
  6405. "marketid": {
  6406. "description": "市场ID",
  6407. "type": "integer"
  6408. },
  6409. "orderid": {
  6410. "description": "单号(成交单号)",
  6411. "type": "string"
  6412. },
  6413. "picurls1": {
  6414. "description": "预售商品介绍图片[多张用逗号分隔]",
  6415. "type": "string"
  6416. },
  6417. "picurls2": {
  6418. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6419. "type": "string"
  6420. },
  6421. "price": {
  6422. "description": "价格",
  6423. "type": "number"
  6424. },
  6425. "qty": {
  6426. "description": "数量",
  6427. "type": "integer"
  6428. },
  6429. "time": {
  6430. "description": "时间",
  6431. "type": "string"
  6432. },
  6433. "trademode": {
  6434. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6435. "type": "integer"
  6436. },
  6437. "vendorname1": {
  6438. "description": "预售商品供应商名称",
  6439. "type": "string"
  6440. },
  6441. "vendorname2": {
  6442. "description": "挂牌商品供应商名称",
  6443. "type": "string"
  6444. }
  6445. }
  6446. },
  6447. "models.HsbyGoodsOrderDetail": {
  6448. "type": "object",
  6449. "required": [
  6450. "buyorsell",
  6451. "orderid",
  6452. "ordertime"
  6453. ],
  6454. "properties": {
  6455. "buyorsell": {
  6456. "description": "买卖 - 0:买 1:卖",
  6457. "type": "integer"
  6458. },
  6459. "currencysign": {
  6460. "description": "货币符号",
  6461. "type": "string"
  6462. },
  6463. "customername": {
  6464. "description": "客户名称(企业名称),已脱敏",
  6465. "type": "string"
  6466. },
  6467. "enableqty": {
  6468. "description": "可用数量",
  6469. "type": "integer"
  6470. },
  6471. "goodunit": {
  6472. "description": "报价单位",
  6473. "type": "string"
  6474. },
  6475. "orderid": {
  6476. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6477. "type": "string"
  6478. },
  6479. "orderprice": {
  6480. "description": "委托价格",
  6481. "type": "number"
  6482. },
  6483. "ordertime": {
  6484. "description": "委托时间",
  6485. "type": "string"
  6486. }
  6487. }
  6488. },
  6489. "models.HsbyListingGoodsDetail": {
  6490. "type": "object",
  6491. "required": [
  6492. "goodscode",
  6493. "goodsid",
  6494. "goodsname",
  6495. "marketid",
  6496. "trademode"
  6497. ],
  6498. "properties": {
  6499. "agreeunit": {
  6500. "description": "合约单位",
  6501. "type": "number"
  6502. },
  6503. "currency": {
  6504. "description": "货币",
  6505. "type": "string"
  6506. },
  6507. "currencysign": {
  6508. "description": "货币符号",
  6509. "type": "string"
  6510. },
  6511. "decimalplace": {
  6512. "description": "报价小数位",
  6513. "type": "integer"
  6514. },
  6515. "desccityid": {
  6516. "description": "目的地(市)ID",
  6517. "type": "integer"
  6518. },
  6519. "descprovinceid": {
  6520. "description": "目的地(省)ID",
  6521. "type": "integer"
  6522. },
  6523. "goodscode": {
  6524. "description": "商品代码(内部)",
  6525. "type": "string"
  6526. },
  6527. "goodsdesc": {
  6528. "description": "商品详情",
  6529. "type": "string"
  6530. },
  6531. "goodsid": {
  6532. "description": "商品ID(自增ID SEQ_GOODS)",
  6533. "type": "integer"
  6534. },
  6535. "goodsname": {
  6536. "description": "商品名称",
  6537. "type": "string"
  6538. },
  6539. "hotindex": {
  6540. "description": "景点热度",
  6541. "type": "integer"
  6542. },
  6543. "last": {
  6544. "description": "现价",
  6545. "type": "number"
  6546. },
  6547. "limitdown": {
  6548. "description": "跌停价",
  6549. "type": "number"
  6550. },
  6551. "limitup": {
  6552. "description": "涨停价",
  6553. "type": "number"
  6554. },
  6555. "lotsize": {
  6556. "description": "手数最小变动单位",
  6557. "type": "integer"
  6558. },
  6559. "marketid": {
  6560. "description": "所属市场ID",
  6561. "type": "integer"
  6562. },
  6563. "picurls": {
  6564. "description": "介绍图片[多张用逗号分隔]",
  6565. "type": "string"
  6566. },
  6567. "quoteminunit": {
  6568. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6569. "type": "integer"
  6570. },
  6571. "stepvalue": {
  6572. "description": "价格最小变动单位",
  6573. "type": "number"
  6574. },
  6575. "trademode": {
  6576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6577. "type": "integer"
  6578. },
  6579. "vendorattr": {
  6580. "description": "供应商附件(多张,逗号分隔)",
  6581. "type": "string"
  6582. },
  6583. "vendorname": {
  6584. "description": "供应商名称",
  6585. "type": "string"
  6586. },
  6587. "vendorphone": {
  6588. "description": "供应商客服电话",
  6589. "type": "string"
  6590. },
  6591. "videourls": {
  6592. "description": "介绍视频[多张用逗号分隔]",
  6593. "type": "string"
  6594. }
  6595. }
  6596. },
  6597. "models.HsbyMyGoods": {
  6598. "type": "object",
  6599. "required": [
  6600. "accountid",
  6601. "goodscode",
  6602. "goodsid",
  6603. "goodsname"
  6604. ],
  6605. "properties": {
  6606. "accountid": {
  6607. "description": "账号Id",
  6608. "type": "integer"
  6609. },
  6610. "agreeunit": {
  6611. "description": "合约单位",
  6612. "type": "number"
  6613. },
  6614. "buyaverageprice": {
  6615. "description": "持仓均价",
  6616. "type": "number"
  6617. },
  6618. "buycurholderamount": {
  6619. "description": "买当前持仓总金额[商品币种]",
  6620. "type": "number"
  6621. },
  6622. "buycurpositionqty": {
  6623. "description": "买当前持仓总数量",
  6624. "type": "integer"
  6625. },
  6626. "currencysign": {
  6627. "description": "货币符号",
  6628. "type": "string"
  6629. },
  6630. "decimalplace": {
  6631. "description": "报价小数位",
  6632. "type": "integer"
  6633. },
  6634. "enableqty": {
  6635. "description": "可用数量",
  6636. "type": "integer"
  6637. },
  6638. "goodscode": {
  6639. "description": "商品代码(内部)",
  6640. "type": "string"
  6641. },
  6642. "goodsid": {
  6643. "description": "商品Id",
  6644. "type": "integer"
  6645. },
  6646. "goodsname": {
  6647. "description": "商品名称",
  6648. "type": "string"
  6649. },
  6650. "goodsstatus": {
  6651. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6652. "type": "integer"
  6653. },
  6654. "picurls": {
  6655. "description": "介绍图片[多张用逗号分隔]",
  6656. "type": "string"
  6657. }
  6658. }
  6659. },
  6660. "models.HsbyMyPackage": {
  6661. "type": "object",
  6662. "required": [
  6663. "goodscode",
  6664. "goodsname",
  6665. "takeorderid"
  6666. ],
  6667. "properties": {
  6668. "accountid": {
  6669. "description": "账户ID",
  6670. "type": "integer"
  6671. },
  6672. "address": {
  6673. "description": "提货人详细地址",
  6674. "type": "string"
  6675. },
  6676. "agreeunit": {
  6677. "description": "合约单位",
  6678. "type": "number"
  6679. },
  6680. "amount": {
  6681. "description": "提货金额",
  6682. "type": "number"
  6683. },
  6684. "auditer": {
  6685. "description": "审核人",
  6686. "type": "integer"
  6687. },
  6688. "audittime": {
  6689. "description": "审核时间",
  6690. "type": "string"
  6691. },
  6692. "averageprice": {
  6693. "description": "均价",
  6694. "type": "number"
  6695. },
  6696. "cardnum": {
  6697. "description": "提货人证件号码",
  6698. "type": "string"
  6699. },
  6700. "cardtypeid": {
  6701. "description": "提货人证件类型",
  6702. "type": "integer"
  6703. },
  6704. "checkremark": {
  6705. "description": "审核备注",
  6706. "type": "string"
  6707. },
  6708. "currencysign": {
  6709. "description": "货币符号",
  6710. "type": "string"
  6711. },
  6712. "decimalplace": {
  6713. "description": "报价小数位",
  6714. "type": "integer"
  6715. },
  6716. "goodscode": {
  6717. "description": "商品代码(内部)",
  6718. "type": "string"
  6719. },
  6720. "goodsid": {
  6721. "description": "商品ID",
  6722. "type": "integer"
  6723. },
  6724. "goodsname": {
  6725. "description": "商品名称",
  6726. "type": "string"
  6727. },
  6728. "handlestatus": {
  6729. "description": "处理状态",
  6730. "type": "integer"
  6731. },
  6732. "marketid": {
  6733. "description": "市场ID",
  6734. "type": "integer"
  6735. },
  6736. "phonenum": {
  6737. "description": "提货人联系方式",
  6738. "type": "string"
  6739. },
  6740. "picurls": {
  6741. "description": "介绍图片[多张用逗号分隔]",
  6742. "type": "string"
  6743. },
  6744. "qty": {
  6745. "description": "提货数量",
  6746. "type": "number"
  6747. },
  6748. "recivername": {
  6749. "description": "提货人姓名",
  6750. "type": "string"
  6751. },
  6752. "reqtime": {
  6753. "description": "更新时间",
  6754. "type": "string"
  6755. },
  6756. "takemode": {
  6757. "description": "提货方式 - 2:自提 3:配送",
  6758. "type": "integer"
  6759. },
  6760. "takeorderid": {
  6761. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6762. "type": "string"
  6763. },
  6764. "takeorderstatus": {
  6765. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6766. "type": "integer"
  6767. },
  6768. "takeremark": {
  6769. "description": "提货备注",
  6770. "type": "string"
  6771. },
  6772. "tradedate": {
  6773. "description": "交易日(yyyyMMdd)",
  6774. "type": "string"
  6775. },
  6776. "userid": {
  6777. "description": "用户ID",
  6778. "type": "integer"
  6779. },
  6780. "vendorname": {
  6781. "description": "供应商名称",
  6782. "type": "string"
  6783. }
  6784. }
  6785. },
  6786. "models.HsbyPreGoods": {
  6787. "type": "object",
  6788. "required": [
  6789. "goodscode",
  6790. "goodsid",
  6791. "goodsname",
  6792. "marketid",
  6793. "trademode"
  6794. ],
  6795. "properties": {
  6796. "agreeunit": {
  6797. "description": "合约单位",
  6798. "type": "number"
  6799. },
  6800. "currency": {
  6801. "description": "货币",
  6802. "type": "string"
  6803. },
  6804. "currencysign": {
  6805. "description": "货币符号",
  6806. "type": "string"
  6807. },
  6808. "decimalplace": {
  6809. "description": "报价小数位",
  6810. "type": "integer"
  6811. },
  6812. "enableqty": {
  6813. "description": "剩余数量",
  6814. "type": "integer"
  6815. },
  6816. "goodscode": {
  6817. "description": "商品代码(内部)",
  6818. "type": "string"
  6819. },
  6820. "goodsid": {
  6821. "description": "商品ID(自增ID SEQ_GOODS)",
  6822. "type": "integer"
  6823. },
  6824. "goodsname": {
  6825. "description": "商品名称",
  6826. "type": "string"
  6827. },
  6828. "goodsstatus": {
  6829. "description": "商品状态- 2:未上市 3:上市",
  6830. "type": "integer"
  6831. },
  6832. "lasttradedate": {
  6833. "description": "最后交易日期(状态:待退市)",
  6834. "type": "string"
  6835. },
  6836. "listingdate": {
  6837. "description": "交易开始日期",
  6838. "type": "string"
  6839. },
  6840. "marketid": {
  6841. "description": "所属市场ID",
  6842. "type": "integer"
  6843. },
  6844. "picurls": {
  6845. "description": "介绍图片[多张用逗号分隔]",
  6846. "type": "string"
  6847. },
  6848. "presaledqty": {
  6849. "description": "已预售量(预售结束时更新)",
  6850. "type": "integer"
  6851. },
  6852. "presaleqty": {
  6853. "description": "预售数量",
  6854. "type": "integer"
  6855. },
  6856. "quoteminunit": {
  6857. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6858. "type": "integer"
  6859. },
  6860. "refprice": {
  6861. "description": "参考价格[一口价]",
  6862. "type": "number"
  6863. },
  6864. "relatedgoodsid": {
  6865. "description": "关联交易合约ID",
  6866. "type": "integer"
  6867. },
  6868. "trademode": {
  6869. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6870. "type": "integer"
  6871. },
  6872. "videourls": {
  6873. "description": "介绍视频[多张用逗号分隔]",
  6874. "type": "string"
  6875. }
  6876. }
  6877. },
  6878. "models.HsbyPreGoodsDetail": {
  6879. "type": "object",
  6880. "required": [
  6881. "goodscode",
  6882. "goodsid",
  6883. "goodsname",
  6884. "marketid",
  6885. "trademode"
  6886. ],
  6887. "properties": {
  6888. "agreeunit": {
  6889. "description": "合约单位",
  6890. "type": "number"
  6891. },
  6892. "buymaxqty": {
  6893. "description": "购买上限 [71] - 0为不限",
  6894. "type": "integer"
  6895. },
  6896. "currency": {
  6897. "description": "货币",
  6898. "type": "string"
  6899. },
  6900. "currencysign": {
  6901. "description": "货币符号",
  6902. "type": "string"
  6903. },
  6904. "customername": {
  6905. "description": "发行单位",
  6906. "type": "string"
  6907. },
  6908. "decimalplace": {
  6909. "description": "报价小数位",
  6910. "type": "integer"
  6911. },
  6912. "desccityid": {
  6913. "description": "目的地(市)ID",
  6914. "type": "integer"
  6915. },
  6916. "descprovinceid": {
  6917. "description": "目的地(省)ID",
  6918. "type": "integer"
  6919. },
  6920. "enableqty": {
  6921. "description": "剩余数量",
  6922. "type": "integer"
  6923. },
  6924. "goodscode": {
  6925. "description": "商品代码(内部)",
  6926. "type": "string"
  6927. },
  6928. "goodsdesc": {
  6929. "description": "商品详情",
  6930. "type": "string"
  6931. },
  6932. "goodsid": {
  6933. "description": "商品ID(自增ID SEQ_GOODS)",
  6934. "type": "integer"
  6935. },
  6936. "goodsname": {
  6937. "description": "商品名称",
  6938. "type": "string"
  6939. },
  6940. "goodsstatus": {
  6941. "description": "商品状态- 2:未上市 3:上市",
  6942. "type": "integer"
  6943. },
  6944. "goodunit": {
  6945. "description": "报价单位",
  6946. "type": "string"
  6947. },
  6948. "lasttradedate": {
  6949. "description": "最后交易日期(状态:待退市)",
  6950. "type": "string"
  6951. },
  6952. "listingdate": {
  6953. "description": "交易开始日期",
  6954. "type": "string"
  6955. },
  6956. "lotsize": {
  6957. "description": "手数最小变动单位",
  6958. "type": "integer"
  6959. },
  6960. "marketid": {
  6961. "description": "所属市场ID",
  6962. "type": "integer"
  6963. },
  6964. "picurls": {
  6965. "description": "介绍图片[多张用逗号分隔]",
  6966. "type": "string"
  6967. },
  6968. "presaledqty": {
  6969. "description": "已预售量(预售结束时更新)",
  6970. "type": "integer"
  6971. },
  6972. "presaleqty": {
  6973. "description": "预售数量",
  6974. "type": "integer"
  6975. },
  6976. "quoteminunit": {
  6977. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6978. "type": "integer"
  6979. },
  6980. "refprice": {
  6981. "description": "参考价格[一口价]",
  6982. "type": "number"
  6983. },
  6984. "relatedgoodsid": {
  6985. "description": "关联交易合约ID",
  6986. "type": "integer"
  6987. },
  6988. "stepvalue": {
  6989. "description": "价格最小变动单位",
  6990. "type": "number"
  6991. },
  6992. "trademode": {
  6993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6994. "type": "integer"
  6995. },
  6996. "vendorattr": {
  6997. "description": "供应商附件(多张,逗号分隔)",
  6998. "type": "string"
  6999. },
  7000. "vendorname": {
  7001. "description": "供应商名称",
  7002. "type": "string"
  7003. },
  7004. "vendorphone": {
  7005. "description": "供应商客服电话",
  7006. "type": "string"
  7007. },
  7008. "videourls": {
  7009. "description": "介绍视频[多张用逗号分隔]",
  7010. "type": "string"
  7011. }
  7012. }
  7013. },
  7014. "models.HsbySellMyDetail": {
  7015. "type": "object",
  7016. "required": [
  7017. "accountid",
  7018. "buyorsell",
  7019. "goodscode",
  7020. "goodsid",
  7021. "goodsname",
  7022. "marketid",
  7023. "orderid",
  7024. "qty",
  7025. "time",
  7026. "trademode"
  7027. ],
  7028. "properties": {
  7029. "accountid": {
  7030. "description": "账户ID[报价币种]",
  7031. "type": "integer"
  7032. },
  7033. "agreeunit": {
  7034. "description": "合约单位",
  7035. "type": "number"
  7036. },
  7037. "amount": {
  7038. "description": "金额 = 价格 * 数量 * 合约单位",
  7039. "type": "number"
  7040. },
  7041. "buyorsell": {
  7042. "description": "买卖 - 0:买 1:卖",
  7043. "type": "integer"
  7044. },
  7045. "currencysign": {
  7046. "description": "货币符号",
  7047. "type": "string"
  7048. },
  7049. "decimalplace": {
  7050. "description": "报价小数位",
  7051. "type": "integer"
  7052. },
  7053. "goodscode": {
  7054. "description": "商品代码(内部)",
  7055. "type": "string"
  7056. },
  7057. "goodsid": {
  7058. "description": "商品ID",
  7059. "type": "integer"
  7060. },
  7061. "goodsname": {
  7062. "description": "商品名称",
  7063. "type": "string"
  7064. },
  7065. "marketid": {
  7066. "description": "市场ID",
  7067. "type": "integer"
  7068. },
  7069. "orderid": {
  7070. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  7071. "type": "string"
  7072. },
  7073. "ordertype": {
  7074. "description": "单据类型:0 - 已发布, 1 - 已完成",
  7075. "type": "integer"
  7076. },
  7077. "picurls": {
  7078. "description": "介绍图片[多张用逗号分隔]",
  7079. "type": "string"
  7080. },
  7081. "price": {
  7082. "description": "价格",
  7083. "type": "number"
  7084. },
  7085. "qty": {
  7086. "description": "数量",
  7087. "type": "integer"
  7088. },
  7089. "time": {
  7090. "description": "时间",
  7091. "type": "string"
  7092. },
  7093. "trademode": {
  7094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7095. "type": "integer"
  7096. },
  7097. "vendorname": {
  7098. "description": "供应商名称",
  7099. "type": "string"
  7100. }
  7101. }
  7102. },
  7103. "models.HsbyTopGoods": {
  7104. "type": "object",
  7105. "required": [
  7106. "goodscode",
  7107. "goodsid",
  7108. "goodsname",
  7109. "marketid",
  7110. "trademode"
  7111. ],
  7112. "properties": {
  7113. "agreeunit": {
  7114. "description": "合约单位",
  7115. "type": "number"
  7116. },
  7117. "currency": {
  7118. "description": "货币",
  7119. "type": "string"
  7120. },
  7121. "currencysign": {
  7122. "description": "货币符号",
  7123. "type": "string"
  7124. },
  7125. "decimalplace": {
  7126. "description": "报价小数位",
  7127. "type": "integer"
  7128. },
  7129. "goodscode": {
  7130. "description": "商品代码(内部)",
  7131. "type": "string"
  7132. },
  7133. "goodsid": {
  7134. "description": "商品ID(自增ID SEQ_GOODS)",
  7135. "type": "integer"
  7136. },
  7137. "goodsname": {
  7138. "description": "商品名称",
  7139. "type": "string"
  7140. },
  7141. "hotindex": {
  7142. "description": "景点热度",
  7143. "type": "integer"
  7144. },
  7145. "last": {
  7146. "description": "现价",
  7147. "type": "number"
  7148. },
  7149. "marketid": {
  7150. "description": "所属市场ID",
  7151. "type": "integer"
  7152. },
  7153. "picurls": {
  7154. "description": "介绍图片[多张用逗号分隔]",
  7155. "type": "string"
  7156. },
  7157. "quoteminunit": {
  7158. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7159. "type": "integer"
  7160. },
  7161. "trademode": {
  7162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7163. "type": "integer"
  7164. },
  7165. "videourls": {
  7166. "description": "介绍视频[多张用逗号分隔]",
  7167. "type": "string"
  7168. }
  7169. }
  7170. },
  7171. "models.HybsMyBuyOrderDetail": {
  7172. "type": "object",
  7173. "required": [
  7174. "accountid",
  7175. "buyorsell",
  7176. "goodscode",
  7177. "goodsid",
  7178. "goodsname",
  7179. "marketid",
  7180. "orderid",
  7181. "orderqty",
  7182. "ordertime",
  7183. "trademode"
  7184. ],
  7185. "properties": {
  7186. "accountid": {
  7187. "description": "账户ID[报价币种]",
  7188. "type": "integer"
  7189. },
  7190. "agreeunit": {
  7191. "description": "合约单位",
  7192. "type": "number"
  7193. },
  7194. "buyorsell": {
  7195. "description": "买卖 - 0:买 1:卖",
  7196. "type": "integer"
  7197. },
  7198. "cancelqty": {
  7199. "description": "撤单数量",
  7200. "type": "integer"
  7201. },
  7202. "currencysign": {
  7203. "description": "货币符号",
  7204. "type": "string"
  7205. },
  7206. "decimalplace": {
  7207. "description": "报价小数位",
  7208. "type": "integer"
  7209. },
  7210. "goodscode": {
  7211. "description": "商品代码(内部)",
  7212. "type": "string"
  7213. },
  7214. "goodsid": {
  7215. "description": "商品ID",
  7216. "type": "integer"
  7217. },
  7218. "goodsname": {
  7219. "description": "商品名称",
  7220. "type": "string"
  7221. },
  7222. "listingselecttype": {
  7223. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7224. "type": "integer"
  7225. },
  7226. "marketid": {
  7227. "description": "市场ID",
  7228. "type": "integer"
  7229. },
  7230. "mybuystatus": {
  7231. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7232. "type": "integer"
  7233. },
  7234. "orderamount": {
  7235. "description": "委托金额",
  7236. "type": "number"
  7237. },
  7238. "orderid": {
  7239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7240. "type": "string"
  7241. },
  7242. "orderprice": {
  7243. "description": "委托价格",
  7244. "type": "number"
  7245. },
  7246. "orderqty": {
  7247. "description": "委托数量",
  7248. "type": "integer"
  7249. },
  7250. "orderstatus": {
  7251. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7252. "type": "integer"
  7253. },
  7254. "ordertime": {
  7255. "description": "委托时间",
  7256. "type": "string"
  7257. },
  7258. "picurls1": {
  7259. "description": "预售商品介绍图片[多张用逗号分隔]",
  7260. "type": "string"
  7261. },
  7262. "picurls2": {
  7263. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7264. "type": "string"
  7265. },
  7266. "trademode": {
  7267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7268. "type": "integer"
  7269. },
  7270. "tradeqty": {
  7271. "description": "成交数量",
  7272. "type": "integer"
  7273. },
  7274. "vendorname1": {
  7275. "description": "预售商品供应商名称",
  7276. "type": "string"
  7277. },
  7278. "vendorname2": {
  7279. "description": "挂牌商品供应商名称",
  7280. "type": "string"
  7281. }
  7282. }
  7283. },
  7284. "models.Messageboard": {
  7285. "type": "object",
  7286. "required": [
  7287. "messageboardid"
  7288. ],
  7289. "properties": {
  7290. "createtime": {
  7291. "description": "创建时间",
  7292. "type": "string"
  7293. },
  7294. "message": {
  7295. "description": "留言信息",
  7296. "type": "string"
  7297. },
  7298. "messageboardid": {
  7299. "description": "留言簿ID(SEQ_MessageBoard)",
  7300. "type": "integer"
  7301. },
  7302. "userid": {
  7303. "description": "用户ID",
  7304. "type": "integer"
  7305. }
  7306. }
  7307. },
  7308. "models.OperationPrimaryMenu": {
  7309. "type": "object",
  7310. "properties": {
  7311. "Children": {
  7312. "description": "二级功能菜单",
  7313. "type": "array",
  7314. "items": {
  7315. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7316. }
  7317. },
  7318. "Key": {
  7319. "description": "菜单KEY",
  7320. "type": "string"
  7321. },
  7322. "Label": {
  7323. "description": "菜单标题",
  7324. "type": "string"
  7325. }
  7326. }
  7327. },
  7328. "models.OperationSecondaryMenu": {
  7329. "type": "object",
  7330. "properties": {
  7331. "Key": {
  7332. "description": "菜单KEY",
  7333. "type": "string"
  7334. },
  7335. "Label": {
  7336. "description": "菜单标题",
  7337. "type": "string"
  7338. },
  7339. "TabList": {
  7340. "description": "三级功能菜单",
  7341. "type": "array",
  7342. "items": {
  7343. "$ref": "#/definitions/models.OperationTabMenu"
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "models.OperationTabMenu": {
  7349. "type": "object",
  7350. "properties": {
  7351. "Key": {
  7352. "description": "菜单KEY",
  7353. "type": "string"
  7354. },
  7355. "Label": {
  7356. "description": "菜单标题",
  7357. "type": "string"
  7358. }
  7359. }
  7360. },
  7361. "models.QuotePrimaryMenu": {
  7362. "type": "object",
  7363. "properties": {
  7364. "Index": {
  7365. "description": "序号",
  7366. "type": "integer"
  7367. },
  7368. "Key": {
  7369. "description": "键名",
  7370. "type": "string"
  7371. },
  7372. "Name": {
  7373. "description": "菜单名称",
  7374. "type": "string"
  7375. },
  7376. "SubMenus": {
  7377. "description": "子菜单",
  7378. "type": "array",
  7379. "items": {
  7380. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7381. }
  7382. },
  7383. "SubTitleType": {
  7384. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7385. "type": "integer"
  7386. },
  7387. "TradeModes": {
  7388. "description": "包含市场交易类型",
  7389. "type": "string"
  7390. }
  7391. }
  7392. },
  7393. "models.QuoteSecondaryMenu": {
  7394. "type": "object",
  7395. "properties": {
  7396. "ExExchangeCode": {
  7397. "description": "外部交易所代码",
  7398. "type": "string"
  7399. },
  7400. "ExExchangeID": {
  7401. "description": "外部交易所ID",
  7402. "type": "integer"
  7403. },
  7404. "GoodsGroupIDs": {
  7405. "description": "商品组ID列表",
  7406. "type": "array",
  7407. "items": {
  7408. "type": "integer"
  7409. }
  7410. },
  7411. "Index": {
  7412. "description": "序号",
  7413. "type": "integer"
  7414. },
  7415. "MarketID": {
  7416. "description": "市场ID",
  7417. "type": "integer"
  7418. },
  7419. "MenuTitle": {
  7420. "description": "菜单标题(市场名称或外部交易所名称)",
  7421. "type": "string"
  7422. },
  7423. "TradeMode": {
  7424. "description": "交易模式",
  7425. "type": "integer"
  7426. }
  7427. }
  7428. },
  7429. "models.SearchGoods": {
  7430. "type": "object",
  7431. "required": [
  7432. "goodscode",
  7433. "goodsid",
  7434. "goodsname",
  7435. "marketid",
  7436. "trademode"
  7437. ],
  7438. "properties": {
  7439. "goodscode": {
  7440. "description": "商品代码(内部)",
  7441. "type": "string"
  7442. },
  7443. "goodsid": {
  7444. "description": "商品ID(自增ID SEQ_GOODS)",
  7445. "type": "integer"
  7446. },
  7447. "goodsname": {
  7448. "description": "商品名称",
  7449. "type": "string"
  7450. },
  7451. "marketid": {
  7452. "description": "所属市场ID",
  7453. "type": "integer"
  7454. },
  7455. "marketname": {
  7456. "description": "市场名称",
  7457. "type": "string"
  7458. },
  7459. "trademode": {
  7460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7461. "type": "integer"
  7462. }
  7463. }
  7464. },
  7465. "models.Szdz2imageconfig": {
  7466. "type": "object",
  7467. "required": [
  7468. "configid"
  7469. ],
  7470. "properties": {
  7471. "configid": {
  7472. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7473. "type": "integer"
  7474. },
  7475. "imagepath": {
  7476. "description": "图片",
  7477. "type": "string"
  7478. },
  7479. "imagetype": {
  7480. "description": "类型 - 1:App首页轮播 2:我的",
  7481. "type": "integer"
  7482. },
  7483. "sort": {
  7484. "description": "排序",
  7485. "type": "integer"
  7486. },
  7487. "title": {
  7488. "description": "标题",
  7489. "type": "string"
  7490. },
  7491. "url": {
  7492. "description": "链接",
  7493. "type": "string"
  7494. }
  7495. }
  7496. },
  7497. "models.Szdz3convertconfig": {
  7498. "type": "object",
  7499. "required": [
  7500. "converttype",
  7501. "innergoodsid",
  7502. "outergoodscode"
  7503. ],
  7504. "properties": {
  7505. "canin": {
  7506. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  7507. "type": "integer"
  7508. },
  7509. "canout": {
  7510. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  7511. "type": "integer"
  7512. },
  7513. "converttype": {
  7514. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7515. "type": "integer"
  7516. },
  7517. "createtime": {
  7518. "description": "创建时间",
  7519. "type": "string"
  7520. },
  7521. "creatorid": {
  7522. "description": "创建人",
  7523. "type": "integer"
  7524. },
  7525. "daymaxvalue": {
  7526. "description": "当日最大转入限制",
  7527. "type": "number"
  7528. },
  7529. "freezedays": {
  7530. "description": "冻结天数 [5:花生米转交易]",
  7531. "type": "integer"
  7532. },
  7533. "innergoodsid": {
  7534. "description": "内部商品ID[交易]",
  7535. "type": "integer"
  7536. },
  7537. "inratio": {
  7538. "description": "目标值",
  7539. "type": "integer"
  7540. },
  7541. "modifierid": {
  7542. "description": "修改人",
  7543. "type": "integer"
  7544. },
  7545. "modifytime": {
  7546. "description": "修改时间",
  7547. "type": "string"
  7548. },
  7549. "outergoodscode": {
  7550. "description": "外部商品代码[JD\\PD]",
  7551. "type": "string"
  7552. },
  7553. "outratio": {
  7554. "description": "源值",
  7555. "type": "integer"
  7556. },
  7557. "pddecimalplace": {
  7558. "description": "PD小数位",
  7559. "type": "integer"
  7560. },
  7561. "timemaxvalue": {
  7562. "description": "单次最大转入限制",
  7563. "type": "number"
  7564. },
  7565. "timeminvalue": {
  7566. "description": "单次最小转入限制",
  7567. "type": "number"
  7568. }
  7569. }
  7570. },
  7571. "models.Szdz3searchwhitelist": {
  7572. "type": "object",
  7573. "required": [
  7574. "userid"
  7575. ],
  7576. "properties": {
  7577. "createtime": {
  7578. "description": "创建时间",
  7579. "type": "string"
  7580. },
  7581. "creatorid": {
  7582. "description": "创建人",
  7583. "type": "integer"
  7584. },
  7585. "modifierid": {
  7586. "description": "修改人",
  7587. "type": "integer"
  7588. },
  7589. "modifytime": {
  7590. "description": "修改时间",
  7591. "type": "string"
  7592. },
  7593. "userid": {
  7594. "description": "用户ID",
  7595. "type": "integer"
  7596. }
  7597. }
  7598. },
  7599. "models.Tablecolumnconfig": {
  7600. "type": "object",
  7601. "required": [
  7602. "autoid"
  7603. ],
  7604. "properties": {
  7605. "aligntype": {
  7606. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7607. "type": "integer"
  7608. },
  7609. "autoid": {
  7610. "description": "AutoID",
  7611. "type": "integer"
  7612. },
  7613. "columnfield": {
  7614. "description": "列字段",
  7615. "type": "string"
  7616. },
  7617. "columntitle": {
  7618. "description": "列Title",
  7619. "type": "string"
  7620. },
  7621. "columnwidth": {
  7622. "description": "列宽",
  7623. "type": "string"
  7624. },
  7625. "formatterstring": {
  7626. "description": "格式化字符",
  7627. "type": "string"
  7628. },
  7629. "formattertype": {
  7630. "description": "格式化类型",
  7631. "type": "string"
  7632. },
  7633. "groupname": {
  7634. "description": "表头分组名称",
  7635. "type": "string"
  7636. },
  7637. "isshow": {
  7638. "description": "是否显示 - 0:不显示 1:显示",
  7639. "type": "integer"
  7640. },
  7641. "needsummary": {
  7642. "description": "是否需要汇总 - 0:不需要 1:需要",
  7643. "type": "integer"
  7644. },
  7645. "orderindex": {
  7646. "description": "顺序",
  7647. "type": "integer"
  7648. },
  7649. "remark": {
  7650. "description": "备注",
  7651. "type": "string"
  7652. },
  7653. "summarytype": {
  7654. "description": "汇总类型 - 1:加总 2:最后一个",
  7655. "type": "integer"
  7656. },
  7657. "tablekey": {
  7658. "description": "列表Key",
  7659. "type": "string"
  7660. }
  7661. }
  7662. },
  7663. "models.Useraccount": {
  7664. "type": "object",
  7665. "required": [
  7666. "userid"
  7667. ],
  7668. "properties": {
  7669. "accountname": {
  7670. "description": "账户名称(机构名称)",
  7671. "type": "string"
  7672. },
  7673. "accountstatus": {
  7674. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7675. "type": "integer"
  7676. },
  7677. "auditremark": {
  7678. "description": "审核备注",
  7679. "type": "string"
  7680. },
  7681. "audittime": {
  7682. "description": "审核时间",
  7683. "type": "string"
  7684. },
  7685. "audituserid": {
  7686. "description": "审核人",
  7687. "type": "integer"
  7688. },
  7689. "broker": {
  7690. "description": "所属经纪人ID",
  7691. "type": "integer"
  7692. },
  7693. "canceltime": {
  7694. "description": "销户时间",
  7695. "type": "string"
  7696. },
  7697. "canceluserid": {
  7698. "description": "销户人",
  7699. "type": "integer"
  7700. },
  7701. "createtime": {
  7702. "description": "创建时间",
  7703. "type": "string"
  7704. },
  7705. "creatorid": {
  7706. "description": "创建人",
  7707. "type": "integer"
  7708. },
  7709. "hasauth": {
  7710. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7711. "type": "integer"
  7712. },
  7713. "isanonymous": {
  7714. "description": "是否匿名下单 - 0:否 1:是",
  7715. "type": "integer"
  7716. },
  7717. "maxinvestornum": {
  7718. "description": "最大用户数(经纪会员下投资者个数)",
  7719. "type": "integer"
  7720. },
  7721. "memberuserid": {
  7722. "description": "所属会员ID",
  7723. "type": "integer"
  7724. },
  7725. "modifierid": {
  7726. "description": "修改人",
  7727. "type": "integer"
  7728. },
  7729. "modifyremark": {
  7730. "description": "变更备注",
  7731. "type": "string"
  7732. },
  7733. "modifystatus": {
  7734. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  7735. "type": "integer"
  7736. },
  7737. "modifytime": {
  7738. "description": "修改时间",
  7739. "type": "string"
  7740. },
  7741. "parentuserid": {
  7742. "description": "所属机构ID",
  7743. "type": "integer"
  7744. },
  7745. "reckonaccountid": {
  7746. "description": "默认结算资金账号ID(机构分润使用) 作废",
  7747. "type": "integer"
  7748. },
  7749. "refercount": {
  7750. "description": "推荐总人数",
  7751. "type": "integer"
  7752. },
  7753. "refereeuserid": {
  7754. "description": "推荐人ID",
  7755. "type": "integer"
  7756. },
  7757. "refernum": {
  7758. "description": "推荐码",
  7759. "type": "string"
  7760. },
  7761. "subarealevelpath": {
  7762. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  7763. "type": "string"
  7764. },
  7765. "userid": {
  7766. "description": "用户ID",
  7767. "type": "integer"
  7768. },
  7769. "usertype": {
  7770. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7771. "type": "integer"
  7772. }
  7773. }
  7774. },
  7775. "models.Userfavoritegoods": {
  7776. "type": "object",
  7777. "required": [
  7778. "goodsid"
  7779. ],
  7780. "properties": {
  7781. "goodsid": {
  7782. "description": "商品ID",
  7783. "type": "integer"
  7784. }
  7785. }
  7786. },
  7787. "models.Userinfo": {
  7788. "type": "object",
  7789. "required": [
  7790. "userid"
  7791. ],
  7792. "properties": {
  7793. "address": {
  7794. "description": "地址",
  7795. "type": "string"
  7796. },
  7797. "attachment1": {
  7798. "description": "附件1",
  7799. "type": "string"
  7800. },
  7801. "attachment2": {
  7802. "description": "附件2",
  7803. "type": "string"
  7804. },
  7805. "bankaccount": {
  7806. "description": "银行帐号 (加密存储)",
  7807. "type": "string"
  7808. },
  7809. "bankaccountname": {
  7810. "description": "收款人名称",
  7811. "type": "string"
  7812. },
  7813. "bankcardfrontphotourl": {
  7814. "description": "银行卡正面照地址",
  7815. "type": "string"
  7816. },
  7817. "bankid": {
  7818. "description": "银行编码",
  7819. "type": "string"
  7820. },
  7821. "bankname": {
  7822. "description": "银行名称",
  7823. "type": "string"
  7824. },
  7825. "biznature": {
  7826. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7827. "type": "integer"
  7828. },
  7829. "bizscope": {
  7830. "description": "企业经营范围(企业)",
  7831. "type": "string"
  7832. },
  7833. "cardbackphotourl": {
  7834. "description": "证件背面图片地址",
  7835. "type": "string"
  7836. },
  7837. "cardfrontphotourl": {
  7838. "description": "证件正面图片地址",
  7839. "type": "string"
  7840. },
  7841. "cardnum": {
  7842. "description": "证件号码(加密存储)",
  7843. "type": "string"
  7844. },
  7845. "cardtypeid": {
  7846. "description": "证件类型ID",
  7847. "type": "integer"
  7848. },
  7849. "cityid": {
  7850. "description": "市",
  7851. "type": "integer"
  7852. },
  7853. "company": {
  7854. "description": "公司(个人)",
  7855. "type": "string"
  7856. },
  7857. "contactname": {
  7858. "description": "联系人",
  7859. "type": "string"
  7860. },
  7861. "countryid": {
  7862. "description": "国家",
  7863. "type": "integer"
  7864. },
  7865. "createtime": {
  7866. "description": "创建时间",
  7867. "type": "string"
  7868. },
  7869. "creatorid": {
  7870. "description": "创建人",
  7871. "type": "integer"
  7872. },
  7873. "customername": {
  7874. "description": "客户名称(企业名称)",
  7875. "type": "string"
  7876. },
  7877. "districtid": {
  7878. "description": "地区",
  7879. "type": "integer"
  7880. },
  7881. "email": {
  7882. "description": "邮件(加密存储)",
  7883. "type": "string"
  7884. },
  7885. "fax": {
  7886. "description": "传真(加密存储)",
  7887. "type": "string"
  7888. },
  7889. "halfbodyphotourl": {
  7890. "description": "半身照地址",
  7891. "type": "string"
  7892. },
  7893. "hasencrypt": {
  7894. "description": "数据是否已加密 - 0:未加密 1:已加密",
  7895. "type": "integer"
  7896. },
  7897. "headurl": {
  7898. "description": "头像地址",
  7899. "type": "string"
  7900. },
  7901. "legalcardbackphotourl": {
  7902. "description": "法人身份证背面照地址",
  7903. "type": "string"
  7904. },
  7905. "legalcardfrontphotourl": {
  7906. "description": "法人身份证正面照地址",
  7907. "type": "string"
  7908. },
  7909. "legalpersonname": {
  7910. "description": "法人姓名(企业)",
  7911. "type": "string"
  7912. },
  7913. "mobile": {
  7914. "description": "手机号码(加密存储)",
  7915. "type": "string"
  7916. },
  7917. "mobile2": {
  7918. "description": "手机号码[明文-尚志]",
  7919. "type": "string"
  7920. },
  7921. "modifierid": {
  7922. "description": "修改人",
  7923. "type": "integer"
  7924. },
  7925. "modifiertime": {
  7926. "description": "修改时间",
  7927. "type": "string"
  7928. },
  7929. "needinvoice": {
  7930. "description": "是否需要发票 - 0:不需要 1:需要",
  7931. "type": "integer"
  7932. },
  7933. "nickname": {
  7934. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  7935. "type": "string"
  7936. },
  7937. "openmode": {
  7938. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  7939. "type": "integer"
  7940. },
  7941. "otherurl": {
  7942. "description": "其它图片地址[使用分号分隔]",
  7943. "type": "string"
  7944. },
  7945. "postalcode": {
  7946. "description": "邮政编码",
  7947. "type": "string"
  7948. },
  7949. "provinceid": {
  7950. "description": "省",
  7951. "type": "integer"
  7952. },
  7953. "qq": {
  7954. "description": "QQ(加密存储",
  7955. "type": "string"
  7956. },
  7957. "remark": {
  7958. "description": "备注",
  7959. "type": "string"
  7960. },
  7961. "sex": {
  7962. "description": "用户性别 0: 女 1: 男",
  7963. "type": "integer"
  7964. },
  7965. "signpdfurl": {
  7966. "description": "签约pdf文件",
  7967. "type": "string"
  7968. },
  7969. "telphone": {
  7970. "description": "联系电话(加密存储)",
  7971. "type": "string"
  7972. },
  7973. "userid": {
  7974. "description": "用户ID",
  7975. "type": "integer"
  7976. },
  7977. "userinfotype": {
  7978. "description": "用户信息类型 - 1:个人 2:企业",
  7979. "type": "integer"
  7980. },
  7981. "userstatus": {
  7982. "description": "用户状态 - 1:正常 2:注销",
  7983. "type": "integer"
  7984. },
  7985. "usertype": {
  7986. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7987. "type": "integer"
  7988. },
  7989. "wechat": {
  7990. "description": "微信(加密存储)",
  7991. "type": "string"
  7992. },
  7993. "wskhinfo": {
  7994. "description": "开户申请信息(JSON)",
  7995. "type": "string"
  7996. }
  7997. }
  7998. },
  7999. "models.WRStandardInfo": {
  8000. "type": "object",
  8001. "required": [
  8002. "wrstandardid"
  8003. ],
  8004. "properties": {
  8005. "createtime": {
  8006. "description": "创建时间",
  8007. "type": "string"
  8008. },
  8009. "creatorid": {
  8010. "description": "创建人",
  8011. "type": "integer"
  8012. },
  8013. "deliverygoodsid": {
  8014. "description": "品种ID",
  8015. "type": "integer"
  8016. },
  8017. "deliverygoodsname": {
  8018. "description": "交割商品名称",
  8019. "type": "string"
  8020. },
  8021. "factoryitemjson": {
  8022. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8023. "type": "string"
  8024. },
  8025. "isvalid": {
  8026. "description": "是否有效 - 0:无效 1:有效",
  8027. "type": "integer"
  8028. },
  8029. "minivalue": {
  8030. "description": "最小变动值",
  8031. "type": "integer"
  8032. },
  8033. "minivaluedp": {
  8034. "description": "最小变动值小数位",
  8035. "type": "integer"
  8036. },
  8037. "realminivalue": {
  8038. "description": "实际最小变动值",
  8039. "type": "integer"
  8040. },
  8041. "realminivaluedp": {
  8042. "description": "实际最小变动值小数位",
  8043. "type": "integer"
  8044. },
  8045. "unitid": {
  8046. "description": "单位ID",
  8047. "type": "integer"
  8048. },
  8049. "unitname": {
  8050. "description": "单位",
  8051. "type": "string"
  8052. },
  8053. "updatetime": {
  8054. "description": "更新时间",
  8055. "type": "string"
  8056. },
  8057. "updatorid": {
  8058. "description": "更新人",
  8059. "type": "integer"
  8060. },
  8061. "wrsstatus": {
  8062. "description": "状态 - 作废 - 0:未激活 1:正常",
  8063. "type": "integer"
  8064. },
  8065. "wrstandardcode": {
  8066. "description": "仓单标准代码",
  8067. "type": "string"
  8068. },
  8069. "wrstandardid": {
  8070. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8071. "type": "integer"
  8072. },
  8073. "wrstandardname": {
  8074. "description": "仓单标准名称",
  8075. "type": "string"
  8076. }
  8077. }
  8078. },
  8079. "models.Warehouseinfo": {
  8080. "type": "object",
  8081. "required": [
  8082. "autoid",
  8083. "warehousecode"
  8084. ],
  8085. "properties": {
  8086. "address": {
  8087. "description": "详细地址",
  8088. "type": "string"
  8089. },
  8090. "areauserid": {
  8091. "description": "所属机构",
  8092. "type": "integer"
  8093. },
  8094. "autoid": {
  8095. "description": "自增ID",
  8096. "type": "integer"
  8097. },
  8098. "cityid": {
  8099. "description": "市",
  8100. "type": "integer"
  8101. },
  8102. "contactname": {
  8103. "description": "联系人",
  8104. "type": "string"
  8105. },
  8106. "contactnum": {
  8107. "description": "联系电话",
  8108. "type": "string"
  8109. },
  8110. "countryid": {
  8111. "description": "国家",
  8112. "type": "integer"
  8113. },
  8114. "createtime": {
  8115. "description": "创建时间",
  8116. "type": "string"
  8117. },
  8118. "districtid": {
  8119. "description": "区",
  8120. "type": "integer"
  8121. },
  8122. "hasvideo": {
  8123. "description": "是否有视频 - 0:无 1:有",
  8124. "type": "integer"
  8125. },
  8126. "provinceid": {
  8127. "description": "省",
  8128. "type": "integer"
  8129. },
  8130. "remark": {
  8131. "description": "审核备注",
  8132. "type": "string"
  8133. },
  8134. "videourl": {
  8135. "description": "视频地址",
  8136. "type": "string"
  8137. },
  8138. "warehousecode": {
  8139. "description": "仓库代码",
  8140. "type": "string"
  8141. },
  8142. "warehousename": {
  8143. "description": "仓库名称",
  8144. "type": "string"
  8145. },
  8146. "warehousestatus": {
  8147. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8148. "type": "integer"
  8149. },
  8150. "warehousetype": {
  8151. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8152. "type": "integer"
  8153. }
  8154. }
  8155. },
  8156. "order.QueryHisTradeDetailRsp": {
  8157. "type": "object",
  8158. "required": [
  8159. "accountid",
  8160. "buyorsell",
  8161. "goodsid",
  8162. "histradedate",
  8163. "marketid",
  8164. "memberuserid",
  8165. "orderid",
  8166. "tradeamount",
  8167. "tradedate",
  8168. "tradeid",
  8169. "tradeprice",
  8170. "tradeqty",
  8171. "tradetime"
  8172. ],
  8173. "properties": {
  8174. "accountid": {
  8175. "description": "账户ID[报价币种]",
  8176. "type": "integer"
  8177. },
  8178. "buildtype": {
  8179. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8180. "type": "integer"
  8181. },
  8182. "buyorsell": {
  8183. "description": "方向 - 0:买 1:卖",
  8184. "type": "integer"
  8185. },
  8186. "charge": {
  8187. "description": "手续费",
  8188. "type": "number"
  8189. },
  8190. "closecharge": {
  8191. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8192. "type": "number"
  8193. },
  8194. "closeexchagechargevalue": {
  8195. "description": "平仓交易所手续费设置值",
  8196. "type": "number"
  8197. },
  8198. "closefeealgorithm": {
  8199. "description": "平仓手续费收取方式 1:比率 2:固定",
  8200. "type": "integer"
  8201. },
  8202. "closememberchargevalue": {
  8203. "description": "平仓会员手续费设置值",
  8204. "type": "number"
  8205. },
  8206. "closepl": {
  8207. "description": "平仓盈亏",
  8208. "type": "number"
  8209. },
  8210. "closepl2": {
  8211. "description": "平仓盈亏[逐笔]",
  8212. "type": "number"
  8213. },
  8214. "closeqty": {
  8215. "description": "平仓数量(先建后平操作 需要记录)",
  8216. "type": "integer"
  8217. },
  8218. "creditamount": {
  8219. "description": "授信金额",
  8220. "type": "number"
  8221. },
  8222. "gcaccountid": {
  8223. "description": "账户ID[合约币种]",
  8224. "type": "integer"
  8225. },
  8226. "goodscode": {
  8227. "description": "商品代码",
  8228. "type": "string"
  8229. },
  8230. "goodsid": {
  8231. "description": "商品ID",
  8232. "type": "integer"
  8233. },
  8234. "goodsname": {
  8235. "description": "商品名称",
  8236. "type": "string"
  8237. },
  8238. "histradedate": {
  8239. "description": "历史交易日",
  8240. "type": "string"
  8241. },
  8242. "intclosepl": {
  8243. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8244. "type": "integer"
  8245. },
  8246. "isconfirmexercise": {
  8247. "description": "是否确认行权- 0:否 1:是",
  8248. "type": "integer"
  8249. },
  8250. "ismain": {
  8251. "description": "是否主单 - 0:不是 1:是",
  8252. "type": "integer"
  8253. },
  8254. "ispreexercise": {
  8255. "description": "是否预申报- 0:否 1:是",
  8256. "type": "integer"
  8257. },
  8258. "isreckoned": {
  8259. "description": "是否结算 - 0:未结算 1:已结算",
  8260. "type": "integer"
  8261. },
  8262. "isvaliddata": {
  8263. "description": "是否有效 - 0:无效 1:有效",
  8264. "type": "integer"
  8265. },
  8266. "listingselecttype": {
  8267. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8268. "type": "integer"
  8269. },
  8270. "marketid": {
  8271. "description": "市场ID",
  8272. "type": "integer"
  8273. },
  8274. "marketname": {
  8275. "description": "市场名称",
  8276. "type": "string"
  8277. },
  8278. "matchaccountid": {
  8279. "description": "对手账号id",
  8280. "type": "integer"
  8281. },
  8282. "memberuserid": {
  8283. "description": "会员id 个人投资者 需要填写",
  8284. "type": "integer"
  8285. },
  8286. "opencharge": {
  8287. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8288. "type": "number"
  8289. },
  8290. "openexchagechargevalue": {
  8291. "description": "建仓交易所手续费设置值",
  8292. "type": "number"
  8293. },
  8294. "openfeealgorithm": {
  8295. "description": "建仓手续费收取方式 1:比率 2:固定",
  8296. "type": "integer"
  8297. },
  8298. "openmemberchargevalue": {
  8299. "description": "建仓会员手续费设置值",
  8300. "type": "number"
  8301. },
  8302. "openqty": {
  8303. "description": "开仓数量(先建后平操作 需要记录)",
  8304. "type": "integer"
  8305. },
  8306. "optiontype": {
  8307. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8308. "type": "integer"
  8309. },
  8310. "orderid": {
  8311. "description": "委托单号",
  8312. "type": "string"
  8313. },
  8314. "performanceplanid": {
  8315. "description": "履约计划ID[期权]",
  8316. "type": "integer"
  8317. },
  8318. "performancestatus": {
  8319. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8320. "type": "integer"
  8321. },
  8322. "preexerciseprice": {
  8323. "description": "预申报价格",
  8324. "type": "number"
  8325. },
  8326. "premium": {
  8327. "description": "权利金 - [持仓单的权利金]",
  8328. "type": "number"
  8329. },
  8330. "relatedouttradeid": {
  8331. "description": "关联外部成交单ID",
  8332. "type": "integer"
  8333. },
  8334. "status": {
  8335. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8336. "type": "integer"
  8337. },
  8338. "tradeamount": {
  8339. "description": "成交金额[账户币种,用于所有权]",
  8340. "type": "number"
  8341. },
  8342. "tradedate": {
  8343. "description": "交易日(yyyyMMdd)",
  8344. "type": "string"
  8345. },
  8346. "tradeid": {
  8347. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8348. "type": "string"
  8349. },
  8350. "trademode": {
  8351. "description": "交易模式",
  8352. "type": "integer"
  8353. },
  8354. "tradeprice": {
  8355. "description": "成交价格",
  8356. "type": "number"
  8357. },
  8358. "tradeproperty": {
  8359. "description": "交易属性",
  8360. "type": "integer"
  8361. },
  8362. "tradeqty": {
  8363. "description": "成交数量",
  8364. "type": "integer"
  8365. },
  8366. "tradetime": {
  8367. "description": "成交时间",
  8368. "type": "string"
  8369. },
  8370. "tradetype": {
  8371. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8372. "type": "integer"
  8373. }
  8374. }
  8375. },
  8376. "order.QueryHisTradeOrderDetailRsp": {
  8377. "type": "object",
  8378. "required": [
  8379. "accountid",
  8380. "buildtype",
  8381. "buyorsell",
  8382. "goodsid",
  8383. "histradedate",
  8384. "marketid",
  8385. "memberuserid",
  8386. "operatetype",
  8387. "orderid",
  8388. "orderqty",
  8389. "ordertime",
  8390. "pricemode",
  8391. "tradedate",
  8392. "validtype"
  8393. ],
  8394. "properties": {
  8395. "accountid": {
  8396. "description": "账户ID[报价币种]",
  8397. "type": "integer"
  8398. },
  8399. "buildtype": {
  8400. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8401. "type": "integer"
  8402. },
  8403. "buyorsell": {
  8404. "description": "买卖 - 0:买 1:卖",
  8405. "type": "integer"
  8406. },
  8407. "cancelorderid": {
  8408. "description": "撤单单号(撤单时填写)",
  8409. "type": "string"
  8410. },
  8411. "cancelqty": {
  8412. "description": "撤单数量",
  8413. "type": "integer"
  8414. },
  8415. "clientordertime": {
  8416. "description": "客户端委托时间",
  8417. "type": "string"
  8418. },
  8419. "clientticket": {
  8420. "description": "客户端流水号",
  8421. "type": "string"
  8422. },
  8423. "clienttype": {
  8424. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8425. "type": "integer"
  8426. },
  8427. "closeexchagechargevalue": {
  8428. "description": "平仓交易所手续费设置值",
  8429. "type": "number"
  8430. },
  8431. "closefeealgorithm": {
  8432. "description": "平仓手续费收取方式 1:比率 2:固定",
  8433. "type": "integer"
  8434. },
  8435. "closefreezecharge": {
  8436. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8437. "type": "number"
  8438. },
  8439. "closememberchargevalue": {
  8440. "description": "平仓会员手续费设置值",
  8441. "type": "number"
  8442. },
  8443. "closeqty": {
  8444. "description": "平仓数量(先建后平操作 需要记录)",
  8445. "type": "integer"
  8446. },
  8447. "closetradeqty": {
  8448. "description": "平仓成交数量(先建后平操作,需要记录)",
  8449. "type": "integer"
  8450. },
  8451. "closeunfreezecharge": {
  8452. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8453. "type": "number"
  8454. },
  8455. "delistingtype": {
  8456. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8457. "type": "integer"
  8458. },
  8459. "freezecharge": {
  8460. "description": "冻结手续费",
  8461. "type": "number"
  8462. },
  8463. "freezemargin": {
  8464. "description": "冻结保证金(冻结交易金额)",
  8465. "type": "number"
  8466. },
  8467. "gcaccountid": {
  8468. "description": "账户ID[合约币种]",
  8469. "type": "integer"
  8470. },
  8471. "goodscode": {
  8472. "description": "商品代码",
  8473. "type": "string"
  8474. },
  8475. "goodsid": {
  8476. "description": "商品ID",
  8477. "type": "integer"
  8478. },
  8479. "goodsname": {
  8480. "description": "商品名称",
  8481. "type": "string"
  8482. },
  8483. "histradedate": {
  8484. "description": "历史交易日",
  8485. "type": "string"
  8486. },
  8487. "isconfirmexercise": {
  8488. "description": "是否确认行权- 0:否 1:是",
  8489. "type": "integer"
  8490. },
  8491. "ispreexercise": {
  8492. "description": "是否预申报- 0:否 1:是",
  8493. "type": "integer"
  8494. },
  8495. "isvaliddata": {
  8496. "description": "是否有效 - 0:无效 1:有效",
  8497. "type": "integer"
  8498. },
  8499. "listingselecttype": {
  8500. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8501. "type": "integer"
  8502. },
  8503. "marginalgorithm": {
  8504. "description": "保证金收取方式 1:比率 2:固定",
  8505. "type": "integer"
  8506. },
  8507. "marginvalue": {
  8508. "description": "即市保证金设置值",
  8509. "type": "number"
  8510. },
  8511. "marketid": {
  8512. "description": "市场ID",
  8513. "type": "integer"
  8514. },
  8515. "marketmaxsub": {
  8516. "description": "市价最大偏移范围",
  8517. "type": "number"
  8518. },
  8519. "marketname": {
  8520. "description": "市场名称",
  8521. "type": "string"
  8522. },
  8523. "memberuserid": {
  8524. "description": "所属会员UserID",
  8525. "type": "integer"
  8526. },
  8527. "openexchagechargevalue": {
  8528. "description": "建仓交易所手续费设置值",
  8529. "type": "number"
  8530. },
  8531. "openfeealgorithm": {
  8532. "description": "建仓手续费收取方式 1:比率 2:固定",
  8533. "type": "integer"
  8534. },
  8535. "openfreezecharge": {
  8536. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8537. "type": "number"
  8538. },
  8539. "openmemberchargevalue": {
  8540. "description": "建仓会员手续费设置值",
  8541. "type": "number"
  8542. },
  8543. "openqty": {
  8544. "description": "开仓数量(先建后平操作,需要记录)",
  8545. "type": "integer"
  8546. },
  8547. "opentradeqty": {
  8548. "description": "开仓成交数量(先建后平操作,需要记录)",
  8549. "type": "integer"
  8550. },
  8551. "openunfreezecharge": {
  8552. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8553. "type": "number"
  8554. },
  8555. "operatetype": {
  8556. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8557. "type": "integer"
  8558. },
  8559. "operatorid": {
  8560. "description": "登录账号(LoginID)",
  8561. "type": "integer"
  8562. },
  8563. "optiontype": {
  8564. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8565. "type": "integer"
  8566. },
  8567. "orderid": {
  8568. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8569. "type": "string"
  8570. },
  8571. "orderprice": {
  8572. "description": "委托价格",
  8573. "type": "number"
  8574. },
  8575. "orderqty": {
  8576. "description": "委托数量",
  8577. "type": "integer"
  8578. },
  8579. "ordersrc": {
  8580. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8581. "type": "integer"
  8582. },
  8583. "orderstatus": {
  8584. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8585. "type": "integer"
  8586. },
  8587. "ordertime": {
  8588. "description": "委托时间",
  8589. "type": "string"
  8590. },
  8591. "preexerciseprice": {
  8592. "description": "预申报价格",
  8593. "type": "number"
  8594. },
  8595. "premium": {
  8596. "description": "权利金",
  8597. "type": "number"
  8598. },
  8599. "preorderid": {
  8600. "description": "关联预埋单号(止盈止损单时填写)",
  8601. "type": "string"
  8602. },
  8603. "pricemode": {
  8604. "description": "取价方式 - 1:市价 2: 限价",
  8605. "type": "integer"
  8606. },
  8607. "quoteid": {
  8608. "description": "报价单ID",
  8609. "type": "integer"
  8610. },
  8611. "relatedid": {
  8612. "description": "关联单号(交割单)",
  8613. "type": "string"
  8614. },
  8615. "retcode": {
  8616. "description": "错误代码",
  8617. "type": "integer"
  8618. },
  8619. "sessionid": {
  8620. "description": "会话ID",
  8621. "type": "integer"
  8622. },
  8623. "tradedate": {
  8624. "description": "交易日(yyyyMMdd)",
  8625. "type": "string"
  8626. },
  8627. "trademode": {
  8628. "description": "交易模式",
  8629. "type": "integer"
  8630. },
  8631. "tradeproperty": {
  8632. "description": "交易属性",
  8633. "type": "integer"
  8634. },
  8635. "tradeqty": {
  8636. "description": "成交数量",
  8637. "type": "integer"
  8638. },
  8639. "unfreezecharge": {
  8640. "description": "解冻手续费",
  8641. "type": "number"
  8642. },
  8643. "unfreezemargin": {
  8644. "description": "解冻保证金",
  8645. "type": "number"
  8646. },
  8647. "updatetime": {
  8648. "description": "更新时间",
  8649. "type": "string"
  8650. },
  8651. "uuid": {
  8652. "description": "发起端唯一id",
  8653. "type": "string"
  8654. },
  8655. "validtime": {
  8656. "description": "有效期限",
  8657. "type": "string"
  8658. },
  8659. "validtype": {
  8660. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8661. "type": "integer"
  8662. },
  8663. "volumetype": {
  8664. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8665. "type": "integer"
  8666. }
  8667. }
  8668. },
  8669. "order.QueryTradeDetailRsp": {
  8670. "type": "object",
  8671. "required": [
  8672. "accountid",
  8673. "buyorsell",
  8674. "goodsid",
  8675. "marketid",
  8676. "memberuserid",
  8677. "orderid",
  8678. "tradeamount",
  8679. "tradedate",
  8680. "tradeid",
  8681. "tradeprice",
  8682. "tradeqty",
  8683. "tradetime"
  8684. ],
  8685. "properties": {
  8686. "accountid": {
  8687. "description": "账户ID[报价币种]",
  8688. "type": "integer"
  8689. },
  8690. "buildtype": {
  8691. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8692. "type": "integer"
  8693. },
  8694. "buyorsell": {
  8695. "description": "方向 - 0:买 1:卖",
  8696. "type": "integer"
  8697. },
  8698. "charge": {
  8699. "description": "手续费",
  8700. "type": "number"
  8701. },
  8702. "closecharge": {
  8703. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8704. "type": "number"
  8705. },
  8706. "closeexchagechargevalue": {
  8707. "description": "平仓交易所手续费设置值",
  8708. "type": "number"
  8709. },
  8710. "closefeealgorithm": {
  8711. "description": "平仓手续费收取方式 1:比率 2:固定",
  8712. "type": "integer"
  8713. },
  8714. "closememberchargevalue": {
  8715. "description": "平仓会员手续费设置值",
  8716. "type": "number"
  8717. },
  8718. "closepl": {
  8719. "description": "平仓盈亏",
  8720. "type": "number"
  8721. },
  8722. "closepl2": {
  8723. "description": "平仓盈亏[逐笔]",
  8724. "type": "number"
  8725. },
  8726. "closeqty": {
  8727. "description": "平仓数量(先建后平操作 需要记录)",
  8728. "type": "integer"
  8729. },
  8730. "creditamount": {
  8731. "description": "授信金额",
  8732. "type": "number"
  8733. },
  8734. "gcaccountid": {
  8735. "description": "账户ID[合约币种]",
  8736. "type": "integer"
  8737. },
  8738. "goodscode": {
  8739. "description": "商品代码",
  8740. "type": "string"
  8741. },
  8742. "goodsid": {
  8743. "description": "商品ID",
  8744. "type": "integer"
  8745. },
  8746. "goodsname": {
  8747. "description": "商品名称",
  8748. "type": "string"
  8749. },
  8750. "intclosepl": {
  8751. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8752. "type": "integer"
  8753. },
  8754. "isconfirmexercise": {
  8755. "description": "是否确认行权- 0:否 1:是",
  8756. "type": "integer"
  8757. },
  8758. "ismain": {
  8759. "description": "是否主单 - 0:不是 1:是",
  8760. "type": "integer"
  8761. },
  8762. "ispreexercise": {
  8763. "description": "是否预申报- 0:否 1:是",
  8764. "type": "integer"
  8765. },
  8766. "isreckoned": {
  8767. "description": "是否结算 - 0:未结算 1:已结算",
  8768. "type": "integer"
  8769. },
  8770. "listingselecttype": {
  8771. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8772. "type": "integer"
  8773. },
  8774. "marketid": {
  8775. "description": "市场ID",
  8776. "type": "integer"
  8777. },
  8778. "marketname": {
  8779. "description": "市场名称",
  8780. "type": "string"
  8781. },
  8782. "matchaccountid": {
  8783. "description": "对手账号id",
  8784. "type": "integer"
  8785. },
  8786. "memberuserid": {
  8787. "description": "会员id 个人投资者 需要填写",
  8788. "type": "integer"
  8789. },
  8790. "opencharge": {
  8791. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8792. "type": "number"
  8793. },
  8794. "openexchagechargevalue": {
  8795. "description": "建仓交易所手续费设置值",
  8796. "type": "number"
  8797. },
  8798. "openfeealgorithm": {
  8799. "description": "建仓手续费收取方式 1:比率 2:固定",
  8800. "type": "integer"
  8801. },
  8802. "openmemberchargevalue": {
  8803. "description": "建仓会员手续费设置值",
  8804. "type": "number"
  8805. },
  8806. "openqty": {
  8807. "description": "开仓数量(先建后平操作 需要记录)",
  8808. "type": "integer"
  8809. },
  8810. "optiontype": {
  8811. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8812. "type": "integer"
  8813. },
  8814. "orderid": {
  8815. "description": "委托单号",
  8816. "type": "string"
  8817. },
  8818. "performanceplanid": {
  8819. "description": "履约计划ID[期权]",
  8820. "type": "integer"
  8821. },
  8822. "performancestatus": {
  8823. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8824. "type": "integer"
  8825. },
  8826. "preexerciseprice": {
  8827. "description": "预申报价格",
  8828. "type": "number"
  8829. },
  8830. "premium": {
  8831. "description": "权利金 - [持仓单的权利金]",
  8832. "type": "number"
  8833. },
  8834. "relatedouttradeid": {
  8835. "description": "关联外部成交单ID",
  8836. "type": "integer"
  8837. },
  8838. "status": {
  8839. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8840. "type": "integer"
  8841. },
  8842. "tradeamount": {
  8843. "description": "成交金额[账户币种,用于所有权]",
  8844. "type": "number"
  8845. },
  8846. "tradedate": {
  8847. "description": "交易日(yyyyMMdd)",
  8848. "type": "string"
  8849. },
  8850. "tradeid": {
  8851. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8852. "type": "string"
  8853. },
  8854. "trademode": {
  8855. "description": "交易模式",
  8856. "type": "integer"
  8857. },
  8858. "tradeprice": {
  8859. "description": "成交价格",
  8860. "type": "number"
  8861. },
  8862. "tradeproperty": {
  8863. "description": "交易属性",
  8864. "type": "integer"
  8865. },
  8866. "tradeqty": {
  8867. "description": "成交数量",
  8868. "type": "integer"
  8869. },
  8870. "tradetime": {
  8871. "description": "成交时间",
  8872. "type": "string"
  8873. },
  8874. "tradetype": {
  8875. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8876. "type": "integer"
  8877. }
  8878. }
  8879. },
  8880. "order.QueryTradeOrderDetailRsp": {
  8881. "type": "object",
  8882. "required": [
  8883. "accountid",
  8884. "buildtype",
  8885. "buyorsell",
  8886. "goodsid",
  8887. "marketid",
  8888. "operatetype",
  8889. "orderqty",
  8890. "ordertime",
  8891. "pricemode",
  8892. "tradedate",
  8893. "validtype"
  8894. ],
  8895. "properties": {
  8896. "accountid": {
  8897. "description": "账户ID[报价币种]",
  8898. "type": "integer"
  8899. },
  8900. "buildtype": {
  8901. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8902. "type": "integer"
  8903. },
  8904. "buyorsell": {
  8905. "description": "买卖 - 0:买 1:卖",
  8906. "type": "integer"
  8907. },
  8908. "cancelorderid": {
  8909. "description": "撤单单号(撤单时填写)",
  8910. "type": "string"
  8911. },
  8912. "cancelqty": {
  8913. "description": "撤单数量",
  8914. "type": "integer"
  8915. },
  8916. "clienttype": {
  8917. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8918. "type": "integer"
  8919. },
  8920. "closefreezecharge": {
  8921. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8922. "type": "number"
  8923. },
  8924. "closeqty": {
  8925. "description": "平仓数量(先建后平操作 需要记录)",
  8926. "type": "integer"
  8927. },
  8928. "closetradeqty": {
  8929. "description": "平仓成交数量(先建后平操作,需要记录)",
  8930. "type": "integer"
  8931. },
  8932. "closeunfreezecharge": {
  8933. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8934. "type": "number"
  8935. },
  8936. "delistingtype": {
  8937. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8938. "type": "integer"
  8939. },
  8940. "enableqty": {
  8941. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  8942. "type": "integer"
  8943. },
  8944. "freezecharge": {
  8945. "description": "冻结手续费",
  8946. "type": "number"
  8947. },
  8948. "freezemargin": {
  8949. "description": "冻结保证金(冻结交易金额)",
  8950. "type": "number"
  8951. },
  8952. "goodscode": {
  8953. "description": "商品代码",
  8954. "type": "string"
  8955. },
  8956. "goodsid": {
  8957. "description": "商品ID",
  8958. "type": "integer"
  8959. },
  8960. "goodsname": {
  8961. "description": "商品名称",
  8962. "type": "string"
  8963. },
  8964. "listingselecttype": {
  8965. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8966. "type": "integer"
  8967. },
  8968. "marketid": {
  8969. "description": "市场ID",
  8970. "type": "integer"
  8971. },
  8972. "marketname": {
  8973. "description": "市场名称",
  8974. "type": "string"
  8975. },
  8976. "openfreezecharge": {
  8977. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8978. "type": "number"
  8979. },
  8980. "openqty": {
  8981. "description": "开仓数量(先建后平操作,需要记录)",
  8982. "type": "integer"
  8983. },
  8984. "opentradeqty": {
  8985. "description": "开仓成交数量(先建后平操作,需要记录)",
  8986. "type": "integer"
  8987. },
  8988. "openunfreezecharge": {
  8989. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8990. "type": "number"
  8991. },
  8992. "operatetype": {
  8993. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8994. "type": "integer"
  8995. },
  8996. "operatorid": {
  8997. "description": "登录账号(LoginID)",
  8998. "type": "integer"
  8999. },
  9000. "orderid": {
  9001. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9002. "type": "string"
  9003. },
  9004. "orderprice": {
  9005. "description": "委托价格",
  9006. "type": "number"
  9007. },
  9008. "orderqty": {
  9009. "description": "委托数量",
  9010. "type": "integer"
  9011. },
  9012. "ordersrc": {
  9013. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9014. "type": "integer"
  9015. },
  9016. "orderstatus": {
  9017. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9018. "type": "integer"
  9019. },
  9020. "ordertime": {
  9021. "description": "委托时间",
  9022. "type": "string"
  9023. },
  9024. "preorderid": {
  9025. "description": "关联预埋单号(止盈止损单时填写)",
  9026. "type": "string"
  9027. },
  9028. "pricemode": {
  9029. "description": "取价方式 - 1:市价 2: 限价",
  9030. "type": "integer"
  9031. },
  9032. "relatedid": {
  9033. "description": "关联单号(交割单)",
  9034. "type": "string"
  9035. },
  9036. "tradedate": {
  9037. "description": "交易日(yyyyMMdd)",
  9038. "type": "string"
  9039. },
  9040. "trademode": {
  9041. "description": "交易模式",
  9042. "type": "integer"
  9043. },
  9044. "tradeqty": {
  9045. "description": "成交数量",
  9046. "type": "integer"
  9047. },
  9048. "unfreezecharge": {
  9049. "description": "解冻手续费",
  9050. "type": "number"
  9051. },
  9052. "unfreezemargin": {
  9053. "description": "解冻保证金",
  9054. "type": "number"
  9055. },
  9056. "validtime": {
  9057. "description": "有效期限",
  9058. "type": "string"
  9059. },
  9060. "validtype": {
  9061. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9062. "type": "integer"
  9063. },
  9064. "volumetype": {
  9065. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9066. "type": "integer"
  9067. }
  9068. }
  9069. },
  9070. "order.QueryTradePositionRsp": {
  9071. "type": "object",
  9072. "required": [
  9073. "goodsid"
  9074. ],
  9075. "properties": {
  9076. "accountid": {
  9077. "description": "资金账户",
  9078. "type": "integer"
  9079. },
  9080. "agreeunit": {
  9081. "description": "合约单位",
  9082. "type": "number"
  9083. },
  9084. "averageprice": {
  9085. "description": "持仓均价",
  9086. "type": "number"
  9087. },
  9088. "buyorsell": {
  9089. "description": "方向 - 0:买 1:卖",
  9090. "type": "integer"
  9091. },
  9092. "closetotalqty": {
  9093. "description": "平仓总数量",
  9094. "type": "integer"
  9095. },
  9096. "curholderamount": {
  9097. "description": "当前持仓总金额[商品币种]",
  9098. "type": "number"
  9099. },
  9100. "curpositionqty": {
  9101. "description": "当前持仓总数量",
  9102. "type": "integer"
  9103. },
  9104. "currencyid": {
  9105. "description": "报价货币ID",
  9106. "type": "integer"
  9107. },
  9108. "curtdposition": {
  9109. "description": "期末今日头寸",
  9110. "type": "integer"
  9111. },
  9112. "decimalplace": {
  9113. "description": "报价小数位",
  9114. "type": "integer"
  9115. },
  9116. "enableqty": {
  9117. "description": "可用量",
  9118. "type": "integer"
  9119. },
  9120. "fretdposition": {
  9121. "description": "冻结今日头寸",
  9122. "type": "integer"
  9123. },
  9124. "frozenqty": {
  9125. "description": "持仓冻结数量",
  9126. "type": "integer"
  9127. },
  9128. "goodscode": {
  9129. "description": "商品代码",
  9130. "type": "string"
  9131. },
  9132. "goodsid": {
  9133. "description": "商品Id",
  9134. "type": "integer"
  9135. },
  9136. "goodsname": {
  9137. "description": "商品名称",
  9138. "type": "string"
  9139. },
  9140. "goodunit": {
  9141. "description": "报价单位",
  9142. "type": "string"
  9143. },
  9144. "goodunitid": {
  9145. "description": "报价单位ID",
  9146. "type": "integer"
  9147. },
  9148. "holderamount": {
  9149. "description": "期初持仓总金额[商品币种]",
  9150. "type": "number"
  9151. },
  9152. "marketid": {
  9153. "description": "所属市场ID",
  9154. "type": "integer"
  9155. },
  9156. "openreqqty": {
  9157. "description": "开仓申请数量(用于比较最大持仓数量)",
  9158. "type": "integer"
  9159. },
  9160. "opentotalqty": {
  9161. "description": "开仓总数量",
  9162. "type": "integer"
  9163. },
  9164. "otherfrozenqty": {
  9165. "description": "持仓其他冻结数量(交割冻结)",
  9166. "type": "integer"
  9167. },
  9168. "positionqty": {
  9169. "description": "期初持仓数量",
  9170. "type": "integer"
  9171. },
  9172. "tnqty": {
  9173. "description": "T+N冻结总量",
  9174. "type": "integer"
  9175. },
  9176. "tnusedqty": {
  9177. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9178. "type": "integer"
  9179. },
  9180. "trademode": {
  9181. "description": "交易模式",
  9182. "type": "integer"
  9183. },
  9184. "usedmargin": {
  9185. "description": "占用保证金[商品币种]",
  9186. "type": "number"
  9187. }
  9188. }
  9189. },
  9190. "quote.HistoryData": {
  9191. "type": "object",
  9192. "properties": {
  9193. "c": {
  9194. "description": "收盘价",
  9195. "type": "number"
  9196. },
  9197. "h": {
  9198. "description": "最高价",
  9199. "type": "number"
  9200. },
  9201. "hv": {
  9202. "description": "持仓量",
  9203. "type": "integer"
  9204. },
  9205. "l": {
  9206. "description": "最低价",
  9207. "type": "number"
  9208. },
  9209. "o": {
  9210. "description": "开盘价",
  9211. "type": "number"
  9212. },
  9213. "s": {
  9214. "description": "结算价,日线周期(包括)以上才有",
  9215. "type": "number"
  9216. },
  9217. "ts": {
  9218. "description": "时间",
  9219. "type": "string"
  9220. },
  9221. "tt": {
  9222. "description": "总金额",
  9223. "type": "number"
  9224. },
  9225. "tv": {
  9226. "description": "总量",
  9227. "type": "integer"
  9228. }
  9229. }
  9230. },
  9231. "quote.QueryTSDataRsp": {
  9232. "type": "object",
  9233. "properties": {
  9234. "decimalPlace": {
  9235. "description": "小数位",
  9236. "type": "integer"
  9237. },
  9238. "endTime": {
  9239. "description": "结束时间",
  9240. "type": "string"
  9241. },
  9242. "goodsCode": {
  9243. "description": "商品代码",
  9244. "type": "string"
  9245. },
  9246. "historyDatas": {
  9247. "description": "历史数据",
  9248. "type": "array",
  9249. "items": {
  9250. "$ref": "#/definitions/quote.HistoryData"
  9251. }
  9252. },
  9253. "preSettle": {
  9254. "description": "昨结",
  9255. "type": "number"
  9256. },
  9257. "startTime": {
  9258. "description": "开始时间",
  9259. "type": "string"
  9260. },
  9261. "tradeDate": {
  9262. "description": "交易日",
  9263. "type": "string"
  9264. }
  9265. }
  9266. },
  9267. "szdz.QueryConvertLogRsp": {
  9268. "type": "object",
  9269. "required": [
  9270. "logid"
  9271. ],
  9272. "properties": {
  9273. "accountid": {
  9274. "description": "资金账户ID",
  9275. "type": "integer"
  9276. },
  9277. "clientticket": {
  9278. "description": "客户端流水号",
  9279. "type": "string"
  9280. },
  9281. "converttype": {
  9282. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9283. "type": "integer"
  9284. },
  9285. "createtime": {
  9286. "description": "记账时间",
  9287. "type": "string"
  9288. },
  9289. "daymaxvalue": {
  9290. "description": "配置当日最大转入限制",
  9291. "type": "number"
  9292. },
  9293. "daymaxvalue2": {
  9294. "description": "配置当日最大转入限制(转入)",
  9295. "type": "number"
  9296. },
  9297. "goodscode": {
  9298. "description": "商品代码",
  9299. "type": "string"
  9300. },
  9301. "goodsname": {
  9302. "description": "商品名称",
  9303. "type": "string"
  9304. },
  9305. "handlestatus": {
  9306. "description": "处理状态",
  9307. "type": "integer"
  9308. },
  9309. "innergoodsid": {
  9310. "description": "内部商品ID",
  9311. "type": "integer"
  9312. },
  9313. "inratio": {
  9314. "description": "配置转入比值",
  9315. "type": "integer"
  9316. },
  9317. "invalue": {
  9318. "description": "目标值",
  9319. "type": "number"
  9320. },
  9321. "logid": {
  9322. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9323. "type": "integer"
  9324. },
  9325. "mobile": {
  9326. "description": "手机号码(加密存储)",
  9327. "type": "string"
  9328. },
  9329. "outergoodscode": {
  9330. "description": "外部商品代码[JD\\PD]",
  9331. "type": "string"
  9332. },
  9333. "outratio": {
  9334. "description": "配置转出比值",
  9335. "type": "integer"
  9336. },
  9337. "outvalue": {
  9338. "description": "源值",
  9339. "type": "number"
  9340. },
  9341. "pddecimalplace": {
  9342. "description": "PD小数位",
  9343. "type": "integer"
  9344. },
  9345. "qty": {
  9346. "description": "数量",
  9347. "type": "string"
  9348. },
  9349. "remark": {
  9350. "description": "备注",
  9351. "type": "string"
  9352. },
  9353. "sessionid": {
  9354. "description": "会话ID",
  9355. "type": "integer"
  9356. },
  9357. "timemaxvalue": {
  9358. "description": "配置单次最大转入限制",
  9359. "type": "number"
  9360. },
  9361. "timemaxvalue2": {
  9362. "description": "配置单次最大转入限制(转入)",
  9363. "type": "number"
  9364. },
  9365. "timeminvalue": {
  9366. "description": "配置单次最小数量限制",
  9367. "type": "number"
  9368. },
  9369. "timeminvalue2": {
  9370. "description": "配置单次最小数量限制(转入)",
  9371. "type": "number"
  9372. },
  9373. "tradedate": {
  9374. "description": "交易日(yyyyMMdd)",
  9375. "type": "string"
  9376. },
  9377. "userid": {
  9378. "description": "用户ID",
  9379. "type": "integer"
  9380. }
  9381. }
  9382. },
  9383. "szdz.QueryGoodsPickupRsp": {
  9384. "type": "object",
  9385. "required": [
  9386. "takeorderid"
  9387. ],
  9388. "properties": {
  9389. "accountid": {
  9390. "description": "账户ID",
  9391. "type": "integer"
  9392. },
  9393. "address": {
  9394. "description": "提货人详细地址",
  9395. "type": "string"
  9396. },
  9397. "auditer": {
  9398. "description": "审核人",
  9399. "type": "integer"
  9400. },
  9401. "audittime": {
  9402. "description": "审核时间",
  9403. "type": "string"
  9404. },
  9405. "cardnum": {
  9406. "description": "提货人证件号码",
  9407. "type": "string"
  9408. },
  9409. "cardtypeid": {
  9410. "description": "提货人证件类型",
  9411. "type": "integer"
  9412. },
  9413. "checkremark": {
  9414. "description": "审核备注",
  9415. "type": "string"
  9416. },
  9417. "goodscode": {
  9418. "description": "商品代码",
  9419. "type": "string"
  9420. },
  9421. "goodsid": {
  9422. "description": "商品ID",
  9423. "type": "integer"
  9424. },
  9425. "goodsname": {
  9426. "description": "商品名称",
  9427. "type": "string"
  9428. },
  9429. "handlestatus": {
  9430. "description": "处理状态",
  9431. "type": "integer"
  9432. },
  9433. "marketid": {
  9434. "description": "市场ID",
  9435. "type": "integer"
  9436. },
  9437. "phonenum": {
  9438. "description": "提货人联系方式",
  9439. "type": "string"
  9440. },
  9441. "qty": {
  9442. "description": "提货数量",
  9443. "type": "number"
  9444. },
  9445. "recivername": {
  9446. "description": "提货人姓名",
  9447. "type": "string"
  9448. },
  9449. "reqtime": {
  9450. "description": "更新时间",
  9451. "type": "string"
  9452. },
  9453. "takemode": {
  9454. "description": "提货方式 - 2:自提 3:配送",
  9455. "type": "integer"
  9456. },
  9457. "takeorderid": {
  9458. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9459. "type": "string"
  9460. },
  9461. "takeorderstatus": {
  9462. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9463. "type": "integer"
  9464. },
  9465. "takeremark": {
  9466. "description": "提货备注",
  9467. "type": "string"
  9468. },
  9469. "tradedate": {
  9470. "description": "交易日(yyyyMMdd)",
  9471. "type": "string"
  9472. },
  9473. "userid": {
  9474. "description": "用户ID",
  9475. "type": "integer"
  9476. }
  9477. }
  9478. },
  9479. "szdz.QueryRecieptOrderRsp": {
  9480. "type": "object",
  9481. "required": [
  9482. "ordertime"
  9483. ],
  9484. "properties": {
  9485. "accountName": {
  9486. "description": "所属账号名称(已脱敏)",
  9487. "type": "string"
  9488. },
  9489. "accountid": {
  9490. "description": "资金账号",
  9491. "type": "integer"
  9492. },
  9493. "buyorsell": {
  9494. "description": "方向 - 0:买 1:卖",
  9495. "type": "integer"
  9496. },
  9497. "enableqty": {
  9498. "description": "可摘数量",
  9499. "type": "integer"
  9500. },
  9501. "goodscode": {
  9502. "description": "商品代码",
  9503. "type": "string"
  9504. },
  9505. "goodsid": {
  9506. "description": "商品ID",
  9507. "type": "integer"
  9508. },
  9509. "goodsname": {
  9510. "description": "商品名称",
  9511. "type": "string"
  9512. },
  9513. "orderid": {
  9514. "description": "委托单号",
  9515. "type": "string"
  9516. },
  9517. "orderprice": {
  9518. "description": "委托价格",
  9519. "type": "number"
  9520. },
  9521. "ordertime": {
  9522. "description": "委托时间",
  9523. "type": "string"
  9524. },
  9525. "tradedate": {
  9526. "description": "交易日(yyyyMMdd)",
  9527. "type": "string"
  9528. }
  9529. }
  9530. },
  9531. "szdz.QuerySZDZTradePositionRsp": {
  9532. "type": "object",
  9533. "properties": {
  9534. "accountid": {
  9535. "description": "账号Id",
  9536. "type": "integer"
  9537. },
  9538. "agreeunit": {
  9539. "description": "合约单位",
  9540. "type": "number"
  9541. },
  9542. "averageprice": {
  9543. "description": "持仓均价",
  9544. "type": "number"
  9545. },
  9546. "buyorsell": {
  9547. "description": "方向 - 0:买 1:卖",
  9548. "type": "integer"
  9549. },
  9550. "closetotalqty": {
  9551. "description": "平仓总数量",
  9552. "type": "integer"
  9553. },
  9554. "curholderamount": {
  9555. "description": "当前持仓总金额",
  9556. "type": "number"
  9557. },
  9558. "curpositionqty": {
  9559. "description": "当前持仓总数量",
  9560. "type": "integer"
  9561. },
  9562. "currencyid": {
  9563. "description": "报价货币ID",
  9564. "type": "integer"
  9565. },
  9566. "curtdposition": {
  9567. "description": "期末今日头寸",
  9568. "type": "integer"
  9569. },
  9570. "decimalplace": {
  9571. "description": "报价小数位",
  9572. "type": "integer"
  9573. },
  9574. "enableqty": {
  9575. "description": "可用量",
  9576. "type": "integer"
  9577. },
  9578. "fretdposition": {
  9579. "description": "冻结今日头寸",
  9580. "type": "integer"
  9581. },
  9582. "frozenqty": {
  9583. "description": "持仓冻结数量",
  9584. "type": "integer"
  9585. },
  9586. "goodscode": {
  9587. "description": "商品代码(内部)",
  9588. "type": "string"
  9589. },
  9590. "goodsid": {
  9591. "description": "商品Id",
  9592. "type": "integer"
  9593. },
  9594. "goodsname": {
  9595. "description": "商品名称",
  9596. "type": "string"
  9597. },
  9598. "goodunit": {
  9599. "description": "报价单位",
  9600. "type": "string"
  9601. },
  9602. "goodunitid": {
  9603. "description": "报价单位ID",
  9604. "type": "integer"
  9605. },
  9606. "holderamount": {
  9607. "description": "期初持仓总金额",
  9608. "type": "number"
  9609. },
  9610. "marketid": {
  9611. "description": "市场ID",
  9612. "type": "integer"
  9613. },
  9614. "openreqqty": {
  9615. "description": "开仓申请数量",
  9616. "type": "integer"
  9617. },
  9618. "opentotalqty": {
  9619. "description": "开仓总数量",
  9620. "type": "integer"
  9621. },
  9622. "otherfrozenqty": {
  9623. "description": "持仓其他冻结数量(交割冻结)",
  9624. "type": "integer"
  9625. },
  9626. "positionqty": {
  9627. "description": "期初持仓数量",
  9628. "type": "integer"
  9629. },
  9630. "szdz3freezqty": {
  9631. "description": "尚志大宗转换冻结总数量",
  9632. "type": "integer"
  9633. },
  9634. "tnqty": {
  9635. "description": "T+N冻结总量",
  9636. "type": "integer"
  9637. },
  9638. "tnusedqty": {
  9639. "description": "T+N使用量",
  9640. "type": "integer"
  9641. },
  9642. "trademode": {
  9643. "description": "交易模式",
  9644. "type": "integer"
  9645. },
  9646. "usedmargin": {
  9647. "description": "占用保证金",
  9648. "type": "number"
  9649. }
  9650. }
  9651. },
  9652. "taaccount.QueryAmountLogRsp": {
  9653. "type": "object",
  9654. "required": [
  9655. "accountid",
  9656. "amount",
  9657. "amountadjusttype",
  9658. "autoid",
  9659. "balance",
  9660. "createtime",
  9661. "currentbalance",
  9662. "operatetype"
  9663. ],
  9664. "properties": {
  9665. "OPERATETYPENAME": {
  9666. "description": "资金操作类型名称",
  9667. "type": "string"
  9668. },
  9669. "accountid": {
  9670. "description": "资金账户ID",
  9671. "type": "integer"
  9672. },
  9673. "agoodscode": {
  9674. "description": "竞拍商品代码",
  9675. "type": "string"
  9676. },
  9677. "agoodsname": {
  9678. "description": "竞拍商品名称",
  9679. "type": "string"
  9680. },
  9681. "amount": {
  9682. "description": "资金金额",
  9683. "type": "number"
  9684. },
  9685. "amountadjusttype": {
  9686. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9687. "type": "integer"
  9688. },
  9689. "autoid": {
  9690. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9691. "type": "integer"
  9692. },
  9693. "balance": {
  9694. "description": "期初余额",
  9695. "type": "number"
  9696. },
  9697. "businesscode": {
  9698. "description": "业务编号",
  9699. "type": "integer"
  9700. },
  9701. "createtime": {
  9702. "description": "发生时间",
  9703. "type": "string"
  9704. },
  9705. "currencyid": {
  9706. "description": "币种ID",
  9707. "type": "integer"
  9708. },
  9709. "currentbalance": {
  9710. "description": "期末余额(变动后金额)",
  9711. "type": "number"
  9712. },
  9713. "dgoodscode": {
  9714. "description": "交割商品代码",
  9715. "type": "string"
  9716. },
  9717. "dgoodsname": {
  9718. "description": "交割商品名称",
  9719. "type": "string"
  9720. },
  9721. "goodscode": {
  9722. "description": "商品代码",
  9723. "type": "string"
  9724. },
  9725. "goodsid": {
  9726. "description": "商品ID",
  9727. "type": "integer"
  9728. },
  9729. "goodsname": {
  9730. "description": "商品名称",
  9731. "type": "string"
  9732. },
  9733. "marketid": {
  9734. "description": "市场ID",
  9735. "type": "integer"
  9736. },
  9737. "marketname": {
  9738. "description": "市场名称",
  9739. "type": "string"
  9740. },
  9741. "moneyticket": {
  9742. "description": "资金流水号:银行端流水号",
  9743. "type": "integer"
  9744. },
  9745. "operatetype": {
  9746. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9747. "type": "integer"
  9748. },
  9749. "relationorderid": {
  9750. "description": "关联单号",
  9751. "type": "string"
  9752. },
  9753. "remark": {
  9754. "description": "备注",
  9755. "type": "string"
  9756. },
  9757. "trademode": {
  9758. "description": "交易模式",
  9759. "type": "integer"
  9760. }
  9761. }
  9762. },
  9763. "taaccount.QueryHisAmountLogRsp": {
  9764. "type": "object",
  9765. "required": [
  9766. "accountid",
  9767. "amount",
  9768. "amountadjusttype",
  9769. "autoid",
  9770. "balance",
  9771. "createtime",
  9772. "currentbalance",
  9773. "histradedate",
  9774. "operatetype"
  9775. ],
  9776. "properties": {
  9777. "OPERATETYPENAME": {
  9778. "description": "资金操作类型名称",
  9779. "type": "string"
  9780. },
  9781. "accountid": {
  9782. "description": "资金账户ID",
  9783. "type": "integer"
  9784. },
  9785. "agoodscode": {
  9786. "description": "竞拍商品代码",
  9787. "type": "string"
  9788. },
  9789. "agoodsname": {
  9790. "description": "竞拍商品名称",
  9791. "type": "string"
  9792. },
  9793. "amount": {
  9794. "description": "资金金额",
  9795. "type": "number"
  9796. },
  9797. "amountadjusttype": {
  9798. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9799. "type": "integer"
  9800. },
  9801. "autoid": {
  9802. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9803. "type": "integer"
  9804. },
  9805. "balance": {
  9806. "description": "期初余额",
  9807. "type": "number"
  9808. },
  9809. "businesscode": {
  9810. "description": "业务编号",
  9811. "type": "integer"
  9812. },
  9813. "createtime": {
  9814. "description": "发生时间",
  9815. "type": "string"
  9816. },
  9817. "currencyid": {
  9818. "description": "币种ID",
  9819. "type": "integer"
  9820. },
  9821. "currentbalance": {
  9822. "description": "期末余额(变动后金额)",
  9823. "type": "number"
  9824. },
  9825. "dgoodscode": {
  9826. "description": "交割商品代码",
  9827. "type": "string"
  9828. },
  9829. "dgoodsname": {
  9830. "description": "交割商品名称",
  9831. "type": "string"
  9832. },
  9833. "goodscode": {
  9834. "description": "商品代码",
  9835. "type": "string"
  9836. },
  9837. "goodsid": {
  9838. "description": "商品ID",
  9839. "type": "integer"
  9840. },
  9841. "goodsname": {
  9842. "description": "商品名称",
  9843. "type": "string"
  9844. },
  9845. "histradedate": {
  9846. "description": "历史交易日",
  9847. "type": "string"
  9848. },
  9849. "isvaliddata": {
  9850. "description": "是否有效 - 0:无效 1:有效",
  9851. "type": "integer"
  9852. },
  9853. "marketid": {
  9854. "description": "市场ID",
  9855. "type": "integer"
  9856. },
  9857. "marketname": {
  9858. "description": "市场名称",
  9859. "type": "string"
  9860. },
  9861. "moneyticket": {
  9862. "description": "资金流水号:银行端流水号",
  9863. "type": "integer"
  9864. },
  9865. "operatetype": {
  9866. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9867. "type": "integer"
  9868. },
  9869. "relationorderid": {
  9870. "description": "关联单号",
  9871. "type": "string"
  9872. },
  9873. "remark": {
  9874. "description": "备注",
  9875. "type": "string"
  9876. },
  9877. "trademode": {
  9878. "description": "交易模式",
  9879. "type": "integer"
  9880. }
  9881. }
  9882. },
  9883. "trade.QueryRecieptOrderRsp": {
  9884. "type": "object",
  9885. "required": [
  9886. "ordertime"
  9887. ],
  9888. "properties": {
  9889. "accountName": {
  9890. "description": "所属账号名称(已脱敏)",
  9891. "type": "string"
  9892. },
  9893. "accountid": {
  9894. "description": "资金账号",
  9895. "type": "integer"
  9896. },
  9897. "buyorsell": {
  9898. "description": "方向 - 0:买 1:卖",
  9899. "type": "integer"
  9900. },
  9901. "enableqty": {
  9902. "description": "可摘数量",
  9903. "type": "integer"
  9904. },
  9905. "goodscode": {
  9906. "description": "商品代码",
  9907. "type": "string"
  9908. },
  9909. "goodsid": {
  9910. "description": "商品ID",
  9911. "type": "integer"
  9912. },
  9913. "goodsname": {
  9914. "description": "商品名称",
  9915. "type": "string"
  9916. },
  9917. "orderid": {
  9918. "description": "委托单号",
  9919. "type": "string"
  9920. },
  9921. "orderprice": {
  9922. "description": "委托价格",
  9923. "type": "number"
  9924. },
  9925. "ordertime": {
  9926. "description": "委托时间",
  9927. "type": "string"
  9928. },
  9929. "tradedate": {
  9930. "description": "交易日(yyyyMMdd)",
  9931. "type": "string"
  9932. }
  9933. }
  9934. }
  9935. },
  9936. "securityDefinitions": {
  9937. "ApiKeyAuth": {
  9938. "type": "apiKey",
  9939. "name": "Authorization",
  9940. "in": "header"
  9941. }
  9942. }
  9943. }